projects
/
Pman.Builder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ddd0dd
)
Preview.php
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2014 03:07:53 +0000
(11:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2014 03:07:53 +0000
(11:07 +0800)
Preview.php
patch
|
blob
|
history
diff --git
a/Preview.php
b/Preview.php
index
162cd76
..
81adfc6
100644
(file)
--- a/
Preview.php
+++ b/
Preview.php
@@
-27,11
+27,10
@@
class Pman_Builder_Preview extends Pman_Cms_Preview
function outputBody()
{
function outputBody()
{
- $oo = HTML_FlexyFramework::get()->Pman_Cms;
- $template_prefix = isset($oo['template_prefix']) ? $oo['template_prefix'] : '';
- DB_DataObject::debugLevel(1);
+ $proj = HTML_FlexyFramework::get()->project;
+ DB_DataObject::debugLevel(1);
$m = DB_DAtaObject::factory('Builder_modules');
$m = DB_DAtaObject::factory('Builder_modules');
- $m->get('name', $
template_prefix
);
+ $m->get('name', $
proj
);
// needs to modify the template directory??
// use the builder_module == app name
// needs to modify the template directory??
// use the builder_module == app name