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
Zvonimir
ISPConfig 3
Commits
5c71e911
Commit
5c71e911
authored
Sep 04, 2012
by
Falko Timme
Browse files
- Fixed FS#2399.
parent
b889edb3
Changes
2
Show whitespace changes
Inline
Side-by-side
server/plugins-available/apache2_plugin.inc.php
View file @
5c71e911
...
@@ -2299,8 +2299,8 @@ class apache2_plugin {
...
@@ -2299,8 +2299,8 @@ class apache2_plugin {
foreach
(
$ini_settings
as
$ini_setting
){
foreach
(
$ini_settings
as
$ini_setting
){
list
(
$key
,
$value
)
=
explode
(
'='
,
$ini_setting
);
list
(
$key
,
$value
)
=
explode
(
'='
,
$ini_setting
);
if
(
$value
){
if
(
$value
){
$value
=
escapeshellcmd
(
trim
(
$value
)
)
;
$value
=
trim
(
$value
);
$key
=
escapeshellcmd
(
trim
(
$key
)
)
;
$key
=
trim
(
$key
);
switch
(
strtolower
(
$value
))
{
switch
(
strtolower
(
$value
))
{
case
'0'
:
case
'0'
:
// PHP-FPM might complain about invalid boolean value if you use 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 {
...
@@ -1904,8 +1904,8 @@ class nginx_plugin {
foreach
(
$ini_settings
as
$ini_setting
){
foreach
(
$ini_settings
as
$ini_setting
){
list
(
$key
,
$value
)
=
explode
(
'='
,
$ini_setting
);
list
(
$key
,
$value
)
=
explode
(
'='
,
$ini_setting
);
if
(
$value
){
if
(
$value
){
$value
=
escapeshellcmd
(
trim
(
$value
)
)
;
$value
=
trim
(
$value
);
$key
=
escapeshellcmd
(
trim
(
$key
)
)
;
$key
=
trim
(
$key
);
switch
(
strtolower
(
$value
))
{
switch
(
strtolower
(
$value
))
{
case
'0'
:
case
'0'
:
// PHP-FPM might complain about invalid boolean value if you use 0
// PHP-FPM might complain about invalid boolean value if you use 0
...
...
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