runcron debug output

This commit is contained in:
following
2012-08-16 03:14:04 +02:00
parent 5f742432cb
commit 2620014b13
+4
View File
@@ -30,7 +30,11 @@
$hDir = opendir($modules_dir);
while (false !== ($file = readdir($hDir)))
if (substr($file, -10) == '.class.php')
{
if ($opt['debug'] & DEBUG_DEVELOPER)
echo "running $file ...\n";
require($modules_dir . $file);
}
CleanupAndExit($opt['cron']['pidfile']);