This is what I have, using 1.51.Have tried but can't seem to get this to work with 1.5.1PHP 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');
}
}


Reply With Quote

