ブートストラップファイルでZend_Session::Start()を使用すると、次のエラーが発生します。
Maximum execution time of 30 seconds exceeded in G:\wamp\library\Zend\Session.php on line 480
Zend\Session.phpコードの480行目は
$startedCleanly = session_start();
ブラウザは、それが原因で永遠のようにページをロードし続けます。これは、無限のwhileループのようなものです。コンテクスト
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected $_config;
protected $_acl;
protected $_auth;
public function _initMyAutoloader()
{
$autloader = Zend_Loader_Autoloader::getInstance();
$autloader->pushAutoloader(new Zend_Application_Module_Autoloader(array('basePath'=>APPLICATION_PATH . '/','namespace'=>'')));
return $autloader ;
}
public function _initMyConfig()
{
Zend_Session::start();
$this->_config = new Zend_Config($this->getOptions());
Zend_Registry::set('config',$this->_config);
return $this->_config;
}
ありがとう。