Skip to content

Commit 4f2cc4e

Browse files
author
Till Brehm
committed
Syntax errors.
1 parent 8e283b5 commit 4f2cc4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/lib/classes/getconf.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)