projects
/
web.Builder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
515d5a2
)
index.example.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 17 May 2010 02:16:35 +0000
(10:16 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 17 May 2010 02:16:35 +0000
(10:16 +0800)
index.example.php
patch
|
blob
|
history
diff --git
a/index.example.php
b/index.example.php
index
636ddb5
..
ca94bb7
100644
(file)
--- a/
index.example.php
+++ b/
index.example.php
@@
-3,19
+3,20
@@
// set up the paths..
ini_set('include_path',
dirname(__FILE__). ':' .
// set up the paths..
ini_set('include_path',
dirname(__FILE__). ':' .
- dirname(__FILE__).'/pearfix:' .
dirname(__FILE__).'/pear:' .
ini_get('include_path'));
dirname(__FILE__).'/pear:' .
ini_get('include_path'));
+// disable getter/setters - causes more trouble than it's worth.
define('DB_DATAOBJECT_NO_OVERLOAD', true);
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();
$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;
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';
require_once 'HTML/FlexyFramework.php';
-
+// run the thing...
new HTML_FlexyFramework( array(
'project'=> 'Pman',
'debug' => 0,
new HTML_FlexyFramework( array(
'project'=> 'Pman',
'debug' => 0,