Function ViewFile
View a file specified in $_REQUEST['file'], with php highlighting on it Preconditions: - 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']... The function will try to get the 20 lines before and after the specified line.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageErrors.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/ManageErrors.php