Original | Patch | ||
---|---|---|---|
545 | $pattern = $REX['INCLUDE_PATH'].'/generated/articles/*'.$ext; | 545 | $pattern = $REX['INCLUDE_PATH'].'/generated/articles/*'.$ext; |
546 | $purge_files = glob($pattern); | 546 | $purge_files = glob($pattern); |
547 | 547 | ||
548 | if( | 548 | if(is_array($purge_files) && count($purge_files)>0) |
549 | { | 549 | { |
550 | foreach ($purge_files as $file) | 550 | foreach ($purge_files as $file) |
551 | { | 551 | { |
Powered by Chris Boulton's php-diff