mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Remove all unneeded if($debug)-statements and replace them with d_echo in the rest of the directories...
This commit is contained in:
@@ -103,9 +103,7 @@ foreach ($filelist as $file) {
|
||||
|
||||
foreach (explode("\n", $data) as $line) {
|
||||
if (trim($line)) {
|
||||
if ($debug) {
|
||||
echo "$line \n";
|
||||
}
|
||||
d_echo("$line \n");
|
||||
|
||||
if ($line[0] != '#') {
|
||||
if ($config['db']['extension'] == 'mysqli') {
|
||||
|
||||
Reference in New Issue
Block a user