mirror of
https://github.com/lucaspalomodevelop/opnsense-core.git
synced 2026-03-13 00:07:27 +00:00
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... :)
12 lines
220 B
Plaintext
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";
|