diff options
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/system_groupmanager.php | 1 | ||||
-rw-r--r-- | usr/local/www/system_groupmanager_addprivs.php | 1 | ||||
-rw-r--r-- | usr/local/www/system_usermanager.php | 3 | ||||
-rw-r--r-- | usr/local/www/system_usermanager_addcert.php | 3 | ||||
-rw-r--r-- | usr/local/www/system_usermanager_addprivs.php | 1 | ||||
-rwxr-xr-x | usr/local/www/system_usermanager_settings.php | 1 | ||||
-rw-r--r-- | usr/local/www/system_usermanager_settings_ldapacpicker.php | 1 | ||||
-rwxr-xr-x | usr/local/www/system_usermanager_settings_test.php | 1 |
8 files changed, 10 insertions, 2 deletions
diff --git a/usr/local/www/system_groupmanager.php b/usr/local/www/system_groupmanager.php index ac67818..db5e687 100644 --- a/usr/local/www/system_groupmanager.php +++ b/usr/local/www/system_groupmanager.php @@ -45,6 +45,7 @@ ##|-PRIV require("guiconfig.inc"); +require("priv.defs.inc"); $pgtitle = array("System", "Group manager"); diff --git a/usr/local/www/system_groupmanager_addprivs.php b/usr/local/www/system_groupmanager_addprivs.php index 5b96f87..254b6a8 100644 --- a/usr/local/www/system_groupmanager_addprivs.php +++ b/usr/local/www/system_groupmanager_addprivs.php @@ -52,6 +52,7 @@ function admin_groups_sort() { } require("guiconfig.inc"); +require("priv.defs.inc"); $pgtitle = array("System","Group manager","Add privileges"); diff --git a/usr/local/www/system_usermanager.php b/usr/local/www/system_usermanager.php index 9ff460b..702c5f7 100644 --- a/usr/local/www/system_usermanager.php +++ b/usr/local/www/system_usermanager.php @@ -46,8 +46,9 @@ ##|*MATCH=system_usermanager.php* ##|-PRIV -require_once("certs.inc"); +require("certs.inc"); require("guiconfig.inc"); +require("priv.defs.inc"); if (isAllowedPage("system_usermanager")) { diff --git a/usr/local/www/system_usermanager_addcert.php b/usr/local/www/system_usermanager_addcert.php index 732d0e5..73da493 100644 --- a/usr/local/www/system_usermanager_addcert.php +++ b/usr/local/www/system_usermanager_addcert.php @@ -38,7 +38,8 @@ ##|-PRIV require("guiconfig.inc"); -require_once("certs.inc"); +require("certs.inc"); +require("priv.defs.inc"); $cert_keylens = array( "512", "1024", "2048", "4096"); diff --git a/usr/local/www/system_usermanager_addprivs.php b/usr/local/www/system_usermanager_addprivs.php index ee8666e..e175ee1 100644 --- a/usr/local/www/system_usermanager_addprivs.php +++ b/usr/local/www/system_usermanager_addprivs.php @@ -52,6 +52,7 @@ function admin_users_sort() { } require("guiconfig.inc"); +require("priv.defs.inc"); $pgtitle = array("System","User manager","Add privileges"); diff --git a/usr/local/www/system_usermanager_settings.php b/usr/local/www/system_usermanager_settings.php index 04291ae..c94e4c7 100755 --- a/usr/local/www/system_usermanager_settings.php +++ b/usr/local/www/system_usermanager_settings.php @@ -45,6 +45,7 @@ if($_POST['savetest']) $save_and_test = true;
require("guiconfig.inc");
+require("priv.defs.inc");
$pconfig['session_timeout'] = &$config['system']['webgui']['session_timeout'];
$pconfig['ldapserver'] = &$config['system']['webgui']['ldapserver'];
diff --git a/usr/local/www/system_usermanager_settings_ldapacpicker.php b/usr/local/www/system_usermanager_settings_ldapacpicker.php index 7ca3ff7..0d9ff65 100644 --- a/usr/local/www/system_usermanager_settings_ldapacpicker.php +++ b/usr/local/www/system_usermanager_settings_ldapacpicker.php @@ -32,6 +32,7 @@ */ require("guiconfig.inc"); +require("priv.defs.inc"); if($_POST) { print_r($_POST); diff --git a/usr/local/www/system_usermanager_settings_test.php b/usr/local/www/system_usermanager_settings_test.php index 277f77f..f8e5aad 100755 --- a/usr/local/www/system_usermanager_settings_test.php +++ b/usr/local/www/system_usermanager_settings_test.php @@ -39,6 +39,7 @@ ##|-PRIV require("guiconfig.inc"); +require("priv.defs.inc"); $ldapserver = $config['system']['webgui']['ldapserver']; $ldapbindun = $config['system']['webgui']['ldapbindun']; |