This is what I have, using 1.51.
PHP Code:
// steve check for and display debug logs
$path = str_replace(DIR_FS_CATALOG,'../',DIR_FS_LOGS).'/';
$matches = glob($path ."myDEBUG*.*");
if (is_array($matches)) {
foreach ($matches as $filename) {
$messageStack->add('Debug log file exists: '.str_replace($path,DIR_FS_LOGS.'/',$filename),'warning');
}
}
Bookmarks