public function __construct()
 {
     $this->_config = OsuMirror_Config::getInstance();
     $this->_encryption = OsuMirror_Encryption::getInstance();
     $this->_stats = OsuMirror_Statistics::getInstance();
     $this->view = new OsuMirror_View();
     $this->_init();
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     $this->config = OsuMirror_Config::getInstance();
     $this->encryption = OsuMirror_Encryption::getInstance();
     $this->route = OsuMirror_Route::getInstance();
     $this->_viewScript = APPLICATION_PATH . '/views/' . $this->route->getRoute()->controller . '/' . $this->route->getRoute()->action . '.phtml';
     $this->_headers = array();
     parent::__construct(array(), ArrayObject::ARRAY_AS_PROPS);
 }