/var/www/vhosts/chacrasdelassierras/protected/helpers/HelperFunctions.php(679)
667 // we have no matching number just continue 668 } 669 670 // see how many we have 671 $i = count($matches['browser']); 672 if ($i != 1) { 673 //we will have two since we are not using 'other' argument yet 674 //see if version is before or after the name 675 if (strripos($u_agent,"Version") < strripos($u_agent,$ub)){ 676 $version= $matches['version'][0]; 677 } 678 else { 679 $version= $matches['version'][1]; 680 } 681 } 682 else { 683 $version= $matches['version'][0]; 684 } 685 686 // check if we have a number 687 if ($version==null || $version=="") {$version="?";} 688 689 return $bname.'|'.$version.'|'.$platform; 690 691 /*array(
#0 |
+
–
/var/www/vhosts/chacrasdelassierras/protected/models/Sessions.php(104): HelperFunctions::getBrowser() 099 public static function create() { 100 $session = new Sessions; 101 $session->code = Yii::app()->session->sessionID; 102 $session->cookie = CookieHandler::get('main'); 103 $session->ip = HelperFunctions::getIP(); 104 $session->browser = HelperFunctions::getBrowser(); 105 $session->referrer = substr(HelperFunctions::getReferrer(), 0, 256); 106 107 if(strpos(strtolower($session->browser), 'unknown')===false){ 108 if(!HelperFunctions::isBot($session->ip)){ 109 $session->created_on = HelperFunctions::getDate(); |
#1 |
+
–
/var/www/vhosts/chacrasdelassierras/protected/components/Controller.php(43): Sessions::create() 38 try{ 39 $this->isMobile = HelperFunctions::isMobileBrowser(); 40 //if(strlen(CookieHandler::get('main')) != 32) 41 // Cookies::create(); 42 if(!isset(Yii::app()->session['set'])) 43 Sessions::create(); 44 45 //if(isset(Yii::app()->session['session_user_id'])){ 46 // $this->user=Users::getCurrent(); 47 //} 48 //else |
#2 |
+
–
/var/www/vhosts/chacrasdelassierras/yii/framework/web/CWebApplication.php(327): Controller->init() 322 if(($ca=$this->createController($route))!==null) 323 { 324 list($controller,$actionID)=$ca; 325 $oldController=$this->_controller; 326 $this->_controller=$controller; 327 $controller->init(); 328 $controller->run($actionID); 329 $this->_controller=$oldController; 330 } 331 else 332 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', |
#3 |
+
–
/var/www/vhosts/chacrasdelassierras/yii/framework/web/CWebApplication.php(121): CWebApplication->runController("Site/viewInvestment") 116 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 117 $_GET[$name]=$value; 118 } 119 else 120 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 121 $this->runController($route); 122 } 123 124 /** 125 * Registers the core application components. 126 * This method overrides the parent implementation by registering additional core components. |
#4 |
+
–
/var/www/vhosts/chacrasdelassierras/yii/framework/base/CApplication.php(155): CWebApplication->processRequest() 150 */ 151 public function run() 152 { 153 if($this->hasEventHandler('onBeginRequest')) 154 $this->onBeginRequest(new CEvent($this)); 155 $this->processRequest(); 156 if($this->hasEventHandler('onEndRequest')) 157 $this->onEndRequest(new CEvent($this)); 158 } 159 160 /** |
#5 |
+
–
/var/www/vhosts/chacrasdelassierras/public_html/index.php(12): CApplication->run() 07 defined('YII_DEBUG') or define('YII_DEBUG',true); 08 // specify how many levels of call stack should be shown in each log message 09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 10 11 require_once($yii); 12 Yii::createWebApplication($config)->run(); |