From c21ed4466564dae1ca089a4fa36e71b0c790688a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 17 May 2010 10:16:35 +0800 Subject: [PATCH] index.example.php --- index.example.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/index.example.php b/index.example.php index 636ddb5..ca94bb7 100644 --- a/index.example.php +++ b/index.example.php @@ -3,19 +3,20 @@ // set up the paths.. ini_set('include_path', dirname(__FILE__). ':' . - dirname(__FILE__).'/pearfix:' . dirname(__FILE__).'/pear:' . ini_get('include_path')); +// disable getter/setters - causes more trouble than it's worth. define('DB_DATAOBJECT_NO_OVERLOAD', true); -$bd = dirname(__FILE__).'/Pman'; +// since the builder does not have direct access to submodule databases +// we have to load them all up here.. + +$bd = dirname(__FILE__).'/Pman'; $cl = array(); $pa = array(); $cp = array(); -// since the builder does not have direct access to submodule databases -// we have to load them all up here.. foreach(scandir($bd) as $d) { if (!strlen($d) || $d[0] == '.' || !file_exists("$bd/$d/DataObjects")) { continue; @@ -31,7 +32,7 @@ $dbp = parse_url($db); require_once 'HTML/FlexyFramework.php'; - +// run the thing... new HTML_FlexyFramework( array( 'project'=> 'Pman', 'debug' => 0, -- 2.39.2