/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
+ function applyFilters($q, $au, $roo)
+ {
+ $tn = $this->tableName();
+
+ if(!empty($q['search']['filename'])){
+ $this->whereAdd("
+ $tn.filename LIKE '%{$this->escape($q['search']['filename'])}%'
+ ");
+ }
+
+
+ }
function checkPerm($lvl, $au)
{
}
$fn = $this->getStoreName();
-
- print_r($fn);
-
$b = basename($fn);
if (file_exists($fn)) {
if (file_exists($deldir . '/'. $b)) {
unlink($fn);
} else {
- rename($fn, $deldir .'/',$b);
+ rename($fn, $deldir .'/'. $b);
}
unlink($d. '/'. $fn);
continue;
}
- rename($d. '/'. $fn, $deldir .'/',$fn);
-
+ rename($d. '/'. $fn, $deldir .'/'. $fn);
}
}