Changeset 873 for trunk/Modules/SpeedTest/common.php
- Timestamp:
- Apr 6, 2020, 11:17:40 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/SpeedTest/common.php
r560 r873 18 18 foreach ($lines as $line_num => $line) { 19 19 $line = rtrim(preg_replace("/#.*/","",$line)); 20 if (preg_match("/\[.*\]/", $line, $parts)) {20 if (preg_match("/\[.*\]/", $line, $parts)) { 21 21 $section = $parts[0]; 22 22 $section = preg_replace("/[\[\]]/","",$section); … … 34 34 function Debug($message) { 35 35 global $config; 36 if ($config->{'general'}->{'debug'}) {36 if ($config->{'general'}->{'debug'}) { 37 37 BCLog($message); 38 38 } … … 43 43 global $config; 44 44 $logfile = $config->{'general'}->{'logfile'}; 45 if (! $logfile) {45 if (! $logfile) { 46 46 return; 47 47 }
Note:
See TracChangeset
for help on using the changeset viewer.