* @license PHP License * @package WB * @subpackage base */ $base = dirname( __FILE__ ); $system = $base; // . '/../wombat2'; // dynamic loader if (file_exists($base . '/etc/wbLoader.php')) { include $base . '/etc/wbLoader.php'; } include $system . '/include/WB/Class.php'; // set error reporting WBParam::set('wb/error/reporting', E_ALL | E_STRICT); // tell where base dir is WBParam::set('wb/dir/base', $base); // turn off statistic features WBParam::get('wb/statistic/use', 0); /* // add include path $incPath = WBParam::get('wb/class/includePath'); $incPath[] = $base . '/include'; WBParam::set('wb/class/includePath', $incPath); // make custom classes available to class loader $local = WBParam::get('wb/class/local'); $local['XY'] = 'XY/'; WBParam::set('wb/class/local', $local); */ // source local parameter if (file_exists($base . '/etc/config.php')) { include $base . '/etc/config.php'; } ?>