File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ public function get_security_config($section = '') {
6363 if (is_array ($ this ->security_config )) {
6464 return ($ section == '' ) ? $ this ->security_config : $ this ->security_config [$ section ];
6565 } else {
66- $ this ->uses ('ini_parser ' );
66+ $ app ->uses ('ini_parser ' );
6767 $ security_config_path = '/usr/local/ispconfig/security/security_settings.ini ' ;
6868 if (!is_file ($ security_config_path )) $ security_config_path = realpath (ISPC_ROOT_PATH .'/../security/security_settings.ini ' );
69- $ this ->security_config = $ this ->ini_parser ->parse_ini_string (file_get_contents ($ security_config_path ));
69+ $ this ->security_config = $ app ->ini_parser ->parse_ini_string (file_get_contents ($ security_config_path ));
7070
7171 return ($ section == '' ) ? $ this ->security_config : $ this ->security_config [$ section ];
7272 }
You can’t perform that action at this time.
0 commit comments