Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lolo888
ISPConfig 3
Commits
5c71e911
Commit
5c71e911
authored
Sep 04, 2012
by
Falko Timme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed FS#2399.
parent
b889edb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
server/plugins-available/apache2_plugin.inc.php
server/plugins-available/apache2_plugin.inc.php
+2
-2
server/plugins-available/nginx_plugin.inc.php
server/plugins-available/nginx_plugin.inc.php
+2
-2
No files found.
server/plugins-available/apache2_plugin.inc.php
View file @
5c71e911
...
...
@@ -2299,8 +2299,8 @@ class apache2_plugin {
foreach
(
$ini_settings
as
$ini_setting
){
list
(
$key
,
$value
)
=
explode
(
'='
,
$ini_setting
);
if
(
$value
){
$value
=
escapeshellcmd
(
trim
(
$value
)
)
;
$key
=
escapeshellcmd
(
trim
(
$key
)
)
;
$value
=
trim
(
$value
);
$key
=
trim
(
$key
);
switch
(
strtolower
(
$value
))
{
case
'0'
:
// PHP-FPM might complain about invalid boolean value if you use 0
...
...
server/plugins-available/nginx_plugin.inc.php
View file @
5c71e911
...
...
@@ -1904,8 +1904,8 @@ class nginx_plugin {
foreach
(
$ini_settings
as
$ini_setting
){
list
(
$key
,
$value
)
=
explode
(
'='
,
$ini_setting
);
if
(
$value
){
$value
=
escapeshellcmd
(
trim
(
$value
)
)
;
$key
=
escapeshellcmd
(
trim
(
$key
)
)
;
$value
=
trim
(
$value
);
$key
=
trim
(
$key
);
switch
(
strtolower
(
$value
))
{
case
'0'
:
// PHP-FPM might complain about invalid boolean value if you use 0
...
...
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