ViewFile

Description

Will do php highlighting on the file specified in $_REQUEST['file'].

Syntax

void ViewFile ()


Notes

  • File must be readable
  • Full file path must be base64 encoded
  • User must have admin_forum permission
  • The line number number is specified by $_REQUEST['line']
  • Will try to get the 20 lines before and after the specified line
  • Used to show the admin exactly which code generated a particular error
Advertisement: