*/
function createFrom($file, $filename=false)
{
- print_r('run');exit;
// copy the file into the storage area..
if (!file_exists($file) || !filesize($file)) {
return false;
if (!empty($mime_like)) {
$c->whereAdd("Images.mimetype LIKE '". $c->escape($mime_like) ."'");
}
+ $c->orderBy('created DESC');
return $c->fetchAll();
}