X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FImages.php;h=ad85ff99c1cc6a831108f8592096f7a1f15a9ccd;hp=10c92f198cc46559e778b089e4c44591d0d4ebc7;hb=811d438bfed9c36044f370aa8cf8cdc3f148cf82;hpb=0240d255376ca95b458e45be50e071ffd6a0e759 diff --git a/DataObjects/Images.php b/DataObjects/Images.php index 10c92f19..ad85ff99 100644 --- a/DataObjects/Images.php +++ b/DataObjects/Images.php @@ -185,6 +185,8 @@ class Pman_Core_DataObjects_Images extends DB_DataObject { $opts = HTML_FlexyFramework::get()->Pman; $fn = preg_replace('/[^a-z0-9\.]+/i', '_', $this->filename); + $opts = HTML_FlexyFramework::get()->Coba; + print_r($opts);exit; return implode( '/', array( $opts['storedir'], '_images_', date('Y/m', strtotime($this->created)), $this->id . '-'. $fn