DataObjects/Images.php
authorEdward <edward@roojs.com>
Fri, 11 Jan 2013 10:57:19 +0000 (18:57 +0800)
committerEdward <edward@roojs.com>
Fri, 11 Jan 2013 10:57:19 +0000 (18:57 +0800)
DataObjects/Images.php

index ecd633a..8959480 100644 (file)
@@ -64,7 +64,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject
             $y = new File_MimeType();
             $ext = $y->toExt(trim((string) $imageInfo['mime'] ));
             #attachment-'.  $r->id
-            $path = $tmpdir . '/' . time() . '#attachment. ' . $ext;
+            $path = $tmpdir . '/' . time() . '#attachment.' . $ext;
             print_r($path);
             exit;
             if(!file_exists($path)){