PageThumb.php
authoredward <edward@roojs.com>
Mon, 3 Apr 2017 07:58:17 +0000 (15:58 +0800)
committeredward <edward@roojs.com>
Mon, 3 Apr 2017 07:58:17 +0000 (15:58 +0800)
PageThumb.php

index fa3ceed..42b2f27 100644 (file)
@@ -9,7 +9,11 @@ class Pman_Cms_PageThumb extends Pman
         $cms_page = DB_DataObject::factory('cms_page');
         $cms_page->autoJoin();
         
-        print_R(realpath(dirname($this->rootURL . '/Pman/templates/images/file-broken.png')));exit;
+        $file = $this->rootURL . '/Pman/templates/images/file-broken.png';
+        
+        print_R($file);exit;
+        
+        print_R(realpath(dirname()));exit;
         
         if(empty($id) || !$cms_page->get($id)){