projects
/
Pman.Builder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9105e3
)
Preview.php
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2014 05:55:10 +0000
(13:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2014 05:55:10 +0000
(13:55 +0800)
Preview.php
patch
|
blob
|
history
diff --git
a/Preview.php
b/Preview.php
index
212a54d
..
4929462
100644
(file)
--- a/
Preview.php
+++ b/
Preview.php
@@
-38,7
+38,7
@@
class Pman_Builder_Preview extends Pman_Cms_Preview
$p = DB_DAtaObject::factory('Builder_part');
$p->module_id = $m->pid();
if (!$p->get('name', $name )) {
-
$this->err
("invalid url");
+
die
("invalid url");
}
header('Content-type: text/javascript');
echo $p->jsource;