projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
310f0eb
)
Preview.php
author
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 02:39:24 +0000
(10:39 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 15 Nov 2013 02:39:24 +0000
(10:39 +0800)
Preview.php
patch
|
blob
|
history
diff --git
a/Preview.php
b/Preview.php
index
df48f54
..
c39ed1f
100644
(file)
--- a/
Preview.php
+++ b/
Preview.php
@@
-114,7
+114,7
@@
class Pman_Cms_Preview extends Pman
$x->autoJoin();
$x->is_element = 0;
$x->is_draft = 0;
- if (!$x->get("page_link", $name)) {
+ if (!$x->get("page_link", $
prefix .'/'. $
name)) {
$this->err(404, "$name not found");
}
$blocks = $x->children(array(