* @license PHP License * @package WB * @subpackage base */ $base = dirname( __FILE__ ); include $base . '/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); /* // 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'; } ?>