opnsense-core/src/etc/phpshellsessions/disablereferercheck
Franco Fichtner 727453c076 src: move all files (again)
Make "src" the implicit "/usr/local" so that nobody can
sneak in weird files in the base file system or potentially
overwrite them.

This is the last time, I swear...  :)
2014-12-10 16:42:39 +01:00

12 lines
220 B
Plaintext

global $config;
$config = parse_config(true);
$config['system']['webgui']['nohttpreferercheck'] = true;
echo "Disabling HTTP referer check...";
write_config("PHP shell disabled HTTP referer check");
echo "done.\n";