Example #1
0
 private static function loadLibrary()
 {
     self::$isLibLoaded = true;
     require_once GLZ_LIBS_DIR . '/Doctrine/Common/ClassLoader.php';
     $classLoader = new \Doctrine\Common\ClassLoader('Doctrine\\Common', GLZ_LIBS_DIR);
     $classLoader->register();
     $classLoader = new \Doctrine\Common\ClassLoader('Doctrine\\DBAL', GLZ_LIBS_DIR);
     $classLoader->register();
 }