projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1cbc84
)
PageThumb.php
author
edward
<edward@roojs.com>
Mon, 3 Apr 2017 07:58:17 +0000
(15:58 +0800)
committer
edward
<edward@roojs.com>
Mon, 3 Apr 2017 07:58:17 +0000
(15:58 +0800)
PageThumb.php
patch
|
blob
|
history
diff --git
a/PageThumb.php
b/PageThumb.php
index
fa3ceed
..
42b2f27
100644
(file)
--- a/
PageThumb.php
+++ b/
PageThumb.php
@@
-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)){