Commit 4f2cc4ea authored by Till Brehm's avatar Till Brehm

Syntax errors.

parent 8e283b5f
......@@ -63,10 +63,10 @@ class getconf {
if(is_array($this->security_config)) {
return ($section == '') ? $this->security_config : $this->security_config[$section];
} else {
$this->uses('ini_parser');
$app->uses('ini_parser');
$security_config_path = '/usr/local/ispconfig/security/security_settings.ini';
if(!is_file($security_config_path)) $security_config_path = realpath(ISPC_ROOT_PATH.'/../security/security_settings.ini');
$this->security_config = $this->ini_parser->parse_ini_string(file_get_contents($security_config_path));
$this->security_config = $app->ini_parser->parse_ini_string(file_get_contents($security_config_path));
return ($section == '') ? $this->security_config : $this->security_config[$section];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment