dirname(__FILE__).'/../../lib', dirname(__FILE__).'/../../app', dirname(__FILE__).'/../../app/default/models', dirname(__FILE__).'/../../obminclude/of', dirname(__FILE__).'/../../obminclude/phplib', get_include_path() ); set_include_path(implode(PATH_SEPARATOR, $path)); // Necessary global variable $obminclude = dirname(__FILE__).'/../../obminclude'; // Autoloading require_once 'OBM/Autoloader.php'; require_once 'OBM/Autoloader/Standard.php'; $autoloader = OBM_Autoloader::getInstance(); $autoloader->autoloaders['OBM'] = new OBM_Autoloader_Standard(); $autoloader->autoloaders['Stato'] = new OBM_Autoloader_Standard(); $autoloader->autoloaders['*'] = new OBM_Autoloader_Resource(); // Get DB conf and globalize it $db_conf = include('conf/db.php'); extract($db_conf); $obmdb_dbtype = strtoupper($obmdb_dbtype); // Fake function function display_debug_msg() { } class OBM_FixtureLoader { protected $pdo;
/** * Reset the singleton instance * * @return void */ public static function resetInstance() { self::$_instance = null; }