public function registerZend()
 {
     if (self::$zendLoaded) {
         return;
     }
     # Zend 1.8.0 and thereafter
     include_once 'Zend/Loader/Autoloader.php';
     $loader = Zend_Loader_Autoloader::getInstance();
     // Zend should NOT be the fallback autoloader, that gets in Symfony's way and generates warnings in 1.3
     $loader->setFallbackAutoloader(false);
     $loader->suppressNotFoundWarnings(false);
     self::$zendLoaded = true;
 }
Esempio n. 2
0
 public function registerZend()
 {
     if (self::$zendLoaded) {
         return;
     }
     # Zend 1.8.0 and thereafter
     include_once 'Zend/Loader/Autoloader.php';
     $loader = Zend_Loader_Autoloader::getInstance();
     $loader->setFallbackAutoloader(true);
     $loader->suppressNotFoundWarnings(false);
     self::$zendLoaded = true;
 }