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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user