SYSPATH/classes/Kohana/Session.php [ 324 ]
319 }
320 }
321 catch (Exception $e)
322 {
323 // Error reading the session, usually a corrupt session.
324 throw new Session_Exception('Error reading session data.', NULL, Session_Exception::SESSION_CORRUPT);
325 }
326
327 if (is_array($data))
328 {
329 // Load the data locally
-
SYSPATH/classes/Kohana/Session.php [ 125 ] » Kohana_Session->read(arguments)
0
NULL
120 // Enable or disable encryption of data 121 $this->_encrypted = $config['encrypted']; 122 } 123 124 // Load the session 125 $this->read($id); 126 } 127 128 /** 129 * Session object is rendered to a serialized string. If encryption is 130 * enabled, the session will be encrypted. If not, the output string will
-
SYSPATH/classes/Kohana/Session.php [ 54 ] » Kohana_Session->__construct(arguments)
0
NULL
1
NULL
49 50 // Set the session class name 51 $class = 'Session_'.ucfirst($type); 52 53 // Create a new session instance 54 Session::$instances[$type] = $session = new $class($config, $id); 55 56 // Write the session at shutdown 57 register_shutdown_function(array($session, 'write')); 58 } 59
-
APPPATH/classes/Controller/Common.php [ 20 ] » Kohana_Session::instance()
15 parent::before(); 16 /* Создание объекта кеширования */ 17 $this->cache_instance = Cache::instance(CACHE_DRIVER); 18 //$this->cache_instance->delete_all(); 19 /* Старт сессии */ 20 $this->session = Session::instance(); 21 /* Подготовка глобальных переменных и объектов */ 22 $this->set_postfix_and_lang(); 23 $this->config = $this->get_config(); 24 $this->config_d = $this->get_config_d(); 25 $this->text = ORM::factory('Site_Text')->get_site_text($this->cache_instance, $this->postfix);
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Common->before()
64 * @return Response 65 */ 66 public function execute() 67 { 68 // Execute the "before action" method 69 $this->before(); 70 71 // Determine the action to use 72 $action = 'action_'.$this->request->action(); 73 74 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Articles(11)
{ public cache_instance => object Cache_File(2)
{ protected _cache_dir => object SplFileInfo(0)
public template => object View(2){ }
protected _config => array(4) ( "driver" => string(4) "file" "cache_dir" => string(60) "/var/www/vhosts/alpineasiateam.kz/httpdocs/application/cache" "default_expire" => integer 8000 "ignore_on_delete" => array(0) ) }{ protected _file => string(85) "/var/www/vhosts/alpineasiateam.kz/httpdocs/application/views/template/layout/main.php" protected _data => array(0) }
public session => NULL public config => NULL public config_d => NULL public text => NULL public lang => NULL public postfix => NULL public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(89) "http://www.alpineasiateam.kz/ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(35) "<lang>/a/<category_id>/<article_id>" protected _regex => array(3) ( "lang" => string(8) "[a-z]{2}" "category_id" => string(7) "[\w+-]+" "article_id" => string(7) "[\w+-]+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(7) "article" ) protected _route_regex => string(75) "#^(?P<lang>[a-z]{2})/a/(?P<category_id>[\w+-]+)/(?P<article_id>[\w+-]+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(7) "article" protected _uri => string(60) "ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "category_id" => string(18) "nashi-dostizheniya" "article_id" => string(36) "andrej-skvortsov-na-pike-lenina-2018" ) protected _get => array(1) ( "ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(89) "http://www.alpineasiateam.kz/ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(35) "<lang>/a/<category_id>/<article_id>" protected _regex => array(3) ( "lang" => string(8) "[a-z]{2}" "category_id" => string(7) "[\w+-]+" "article_id" => string(7) "[\w+-]+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(7) "article" ) protected _route_regex => string(75) "#^(?P<lang>[a-z]{2})/a/(?P<category_id>[\w+-]+)/(?P<article_id>[\w+-]+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(7) "article" protected _uri => string(60) "ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "category_id" => string(18) "nashi-dostizheniya" "article_id" => string(36) "andrej-skvortsov-na-pike-lenina-2018" ) protected _get => array(1) ( "ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }109 $orig_response = $response = Response::factory(); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(89) "http://www.alpineasiateam.kz/ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(35) "<lang>/a/<category_id>/<article_id>" protected _regex => array(3) ( "lang" => string(8) "[a-z]{2}" "category_id" => string(7) "[\w+-]+" "article_id" => string(7) "[\w+-]+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(7) "article" ) protected _route_regex => string(75) "#^(?P<lang>[a-z]{2})/a/(?P<category_id>[\w+-]+)/(?P<article_id>[\w+-]+)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(7) "article" protected _uri => string(60) "ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "ru" "category_id" => string(18) "nashi-dostizheniya" "article_id" => string(36) "andrej-skvortsov-na-pike-lenina-2018" ) protected _get => array(1) ( "ru/a/nashi-dostizheniya/andrej-skvortsov-na-pike-lenina-2018" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 130 ] » Kohana_Request->execute()
125 /** 126 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 127 * If no source is specified, the URI will be automatically detected. 128 */ 129 echo Request::factory(TRUE, array(), FALSE) 130 ->execute() 131 ->send_headers(TRUE) 132 ->body(); 133 }