/var/www/vhosts/sourceweb.com/CORE/web/CWebApplication.php(125)
113 public function runController($route) 114 { 115 if (($ca = $this->createController($route)) !== null) 116 { 117 list($controller, $actionID) = $ca; 118 $oldController = $this->_controller; 119 $this->_controller = $controller; 120 $controller->init(); 121 $controller->run($actionID); 122 $this->_controller = $oldController; 123 } 124 else 125 throw new CHttpException(404, Core::t('core', 'Unable to resolve the request "{route}".', array( 126 '{route}' => $route === '' ? $this->defaultController : $route 127 ))); 128 } 129 130 public function createController($route, $owner = null) 131 { 132 if ($owner === null) 133 $owner = $this; 134 if ((array)$route === $route || ($route = trim($route, '/')) === '') 135 $route = $owner->defaultController; 136 $caseSensitive = $this->getUrlManager()->caseSensitive; 137 $route .= '/';
#0 |
+
–
/var/www/vhosts/sourceweb.com/CORE/web/CWebApplication.php(28): CWebApplication->runController() 23 $_GET[$name] = $value; 24 } 25 else 26 $route = $this->getUrlManager() 27 ->parseUrl($this->getRequest()); 28 $this->runController($route); 29 } 30 31 protected function registerCoreComponents() 32 { 33 parent::registerCoreComponents(); |
#1 |
+
–
/var/www/vhosts/sourceweb.com/CORE/base/CApplication.php(64): CWebApplication->processRequest() 59 $this->onBeginRequest(new CEvent($this)); 60 register_shutdown_function(array( 61 $this, 62 'end' 63 ), 0, false); 64 $this->processRequest(); 65 if ($this->hasEventHandler('onEndRequest')) 66 $this->onEndRequest(new CEvent($this)); 67 } 68 69 public function end($status = 0, $exit = true) |
#2 |
+
–
/var/www/vhosts/sourceweb.com/httpdocs/index.php(9): CApplication->run() 04 $core = dirname(__FILE__) . '/../CORE/core.php'; 05 $config = dirname(__FILE__) . '/protected/config/main.php'; 06 defined('CORE_DEBUG') or define('CORE_DEBUG', true); 07 defined('CORE_TRACE_LEVEL') or define('CORE_TRACE_LEVEL', 3); 08 require_once ($core); 09 Core::createWebApplication($config)->run(); 10 } 11 else 12 { 13 $dsn = "pgsql:host=localhost;port=5432;dbname=sourceweb"; 14 // make a database connection |