summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 359f6a5..0486c03 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -774,7 +774,7 @@ function system_generate_lighty_config($filename,
if ($captive_portal == true) {
if ($max_procs > 1)
- $max_php_children = intval($max_php_children/2);
+ $max_php_children = intval($max_procs/2);
else
$max_php_children = 1;
OpenPOWER on IntegriCloud