Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ISPConfig 3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Zvonimir
ISPConfig 3
Commits
96167745
Commit
96167745
authored
Apr 24, 2012
by
Falko Timme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed FS#2182.
parent
4d69f4fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
interface/lib/classes/getconf.inc.php
interface/lib/classes/getconf.inc.php
+1
-3
No files found.
interface/lib/classes/getconf.inc.php
View file @
96167745
...
...
@@ -47,12 +47,10 @@ class getconf {
public
function
get_global_config
(
$section
=
''
)
{
global
$app
;
if
(
isset
(
$this
->
config
[
'global'
]))
{
if
(
!
isset
(
$this
->
config
[
'global'
]))
{
$app
->
uses
(
'ini_parser'
);
$tmp
=
$app
->
db
->
queryOneRecord
(
'SELECT config FROM sys_ini WHERE sysini_id = 1'
);
$this
->
config
[
'global'
]
=
$app
->
ini_parser
->
parse_ini_string
(
stripslashes
(
$tmp
[
'config'
]));
}
else
{
$this
->
config
[
'global'
]
=
NULL
;
}
return
(
$section
==
''
)
?
$this
->
config
[
'global'
]
:
$this
->
config
[
'global'
][
$section
];
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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