diff options
author | stilez <stilez@users.noreply.github.com> | 2017-05-27 13:44:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-27 13:44:06 +0100 |
commit | 8d80a771e32483112070ccee3d949dbbe558b064 (patch) | |
tree | c8b88292d69dce60f140559e805e65a9d4177e04 /src/etc | |
parent | d2d58d6ad1b32e0ccce094bfd247547f353e38ba (diff) | |
download | pfsense-8d80a771e32483112070ccee3d949dbbe558b064.zip pfsense-8d80a771e32483112070ccee3d949dbbe558b064.tar.gz |
create global for user code dir, in diag_command.php
Going to try and stop user code generating notices, by putting it in a specific dir which doesn't give notices for syntax errors.
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/globals.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/inc/globals.inc b/src/etc/inc/globals.inc index 9166421..c4533d8 100644 --- a/src/etc/inc/globals.inc +++ b/src/etc/inc/globals.inc @@ -50,6 +50,7 @@ $g = array( "varlog_path" => "/var/log", "etc_path" => "/etc", "tmp_path" => "/tmp", + "tmp_path_user_code" => "/tmp/user_code", "conf_path" => "/conf", "conf_default_path" => "/conf.default", "cf_path" => "/cf", |