Пример #1
0
 /**
  * Constructor.
  */
 public function __construct()
 {
     parent::__construct();
     // Override and increase max execution time if set
     $timeLimit = ini_get('max_execution_time');
     if ($timeLimit && $timeLimit < 250) {
         @set_time_limit(250);
     }
     Propel::disableInstancePooling();
     Propel::setLogger(null);
     // make sure all classes are included
     foreach (Curry_Propel::getModels() as $classes) {
         foreach ($classes as $clazz) {
             class_exists($clazz . 'Peer', true);
         }
     }
 }
 public function __construct()
 {
     parent::__construct();
     $this->renderMenu();
 }
Пример #3
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->rootPath = Curry_Core::$config->curry->wwwPath . DIRECTORY_SEPARATOR;
 }