1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

PHP Warning Removal

This commit is contained in:
Cameron
2012-12-06 14:53:58 -08:00
parent 367ec69c62
commit ebe66a5801
5 changed files with 14 additions and 24 deletions

View File

@@ -297,13 +297,13 @@ class ecache {
if($type == 'db')
{
$path = e_CACHE_DB;
$mask = ($mask == null) ? '*.php' : $mask;
$mask = ($mask == null) ? '.*\.php' : $mask;
}
if($type == 'image')
{
$path = e_CACHE_IMAGE;
$mask = ($mask == null) ? '*.cache\.bin' : $mask;
$mask = ($mask == null) ? '.*\.cache\.bin' : $mask;
}
if((null == $path) || (null == $mask))