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
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lolo888
ISPConfig 3
Commits
0f603d77
Commit
0f603d77
authored
May 29, 2012
by
Falko Timme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed bug for custom php.ini settings for PHP-FPM where "1" and "on" were interpreted as "off".
parent
d4487bae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
server/plugins-available/apache2_plugin.inc.php
server/plugins-available/apache2_plugin.inc.php
+3
-3
server/plugins-available/nginx_plugin.inc.php
server/plugins-available/nginx_plugin.inc.php
+3
-3
No files found.
server/plugins-available/apache2_plugin.inc.php
View file @
0f603d77
...
...
@@ -2048,12 +2048,12 @@ class apache2_plugin {
$value
=
escapeshellcmd
(
trim
(
$value
));
$key
=
escapeshellcmd
(
trim
(
$key
));
switch
(
strtolower
(
$value
))
{
case
'on'
:
case
'off'
:
case
'1'
:
case
'0'
:
// PHP-FPM might complain about invalid boolean value if you use 0
$value
=
'off'
;
case
'1'
:
case
'on'
:
case
'off'
:
case
'true'
:
case
'false'
:
case
'yes'
:
...
...
server/plugins-available/nginx_plugin.inc.php
View file @
0f603d77
...
...
@@ -1662,12 +1662,12 @@ class nginx_plugin {
$value
=
escapeshellcmd
(
trim
(
$value
));
$key
=
escapeshellcmd
(
trim
(
$key
));
switch
(
strtolower
(
$value
))
{
case
'on'
:
case
'off'
:
case
'1'
:
case
'0'
:
// PHP-FPM might complain about invalid boolean value if you use 0
$value
=
'off'
;
case
'1'
:
case
'on'
:
case
'off'
:
case
'true'
:
case
'false'
:
case
'yes'
:
...
...
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