Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Massimiliano
ISPConfig 3
Commits
4f2cc4ea
Commit
4f2cc4ea
authored
Aug 25, 2014
by
Till Brehm
Browse files
Syntax errors.
parent
8e283b5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/lib/classes/getconf.inc.php
View file @
4f2cc4ea
...
...
@@ -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
];
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment