mirror of
https://github.com/unraid/webgui.git
synced 2026-05-03 16:29:45 -05:00
Remove debug code from local_prepend
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
* auto_prepend_file="/usr/local/emhttp/webGui/include/local_prepend.php"
|
||||
*/
|
||||
function csrf_terminate($reason) {
|
||||
shell_exec("logger error: {$_SERVER['REQUEST_URI']}: $reason csrf_token " . json_encode($_POST));
|
||||
error_log(print_r($_SERVER, true));
|
||||
shell_exec("logger error: {$_SERVER['REQUEST_URI']}: $reason csrf_token");
|
||||
exit;
|
||||
}
|
||||
putenv('PATH=.:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin');
|
||||
|
||||
Reference in New Issue
Block a user