Ejemplo n.º 1
0
 /**
  * Called before Zend_Controller_Front begins evaluating the
  * request against its routes.
  *
  * @param Zend_Controller_Request_Abstract $request
  * @return void
  */
 public function routeStartup(Zend_Controller_Request_Abstract $request)
 {
     $objLog = new LogModel();
     $objLog->updateLog();
     /**
      * Clear log
      */
     if (isset($this->_config['logTime'])) {
         $objLog->clearLog($this->_config['logTime']);
     }
 }