X-Git-Url: http://git.roojs.org/?p=web.Builder;a=blobdiff_plain;f=index.example.php;fp=index.example.php;h=ca94bb71b721cc7560374792f3b170d460f1066b;hp=636ddb5ef151a095c7b295f49a456d4c5563ae8c;hb=c21ed4466564dae1ca089a4fa36e71b0c790688a;hpb=515d5a2c173166d8a637d58963226e1d8e1148b7 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,