diff --git a/server/cron_daily.php b/server/cron_daily.php index c68f8ab893b48a5917cabb5f67003056f5a75060..20974e467dd1261dc929e2924a17499cc5b5ca17 100644 --- a/server/cron_daily.php +++ b/server/cron_daily.php @@ -92,7 +92,7 @@ function setConfigVar( $filename, $varName, $varValue ) { $out = ''; $found = 0; foreach($lines as $line) { - list($key, $value) = split("[\t= ]+", $line, 2); + list($key, $value) = preg_split("/[\t= ]+/", $line, 2); if($key == $varName) { $out .= $varName." ".$varValue."\n"; $found = 1;