SYSPATH/classes/kohana/session/native.php [ 43 ]
38 // Set the session id
39 session_id($id);
40 }
41
42 // Start the session
43 session_start();
44
45 // Use the $_SESSION global for storing data
46 $this->_data =& $_SESSION;
47
48 return NULL;
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(204) "session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent …"
2
string(81) "/home/host1336171/russlift.ru/htdocs/www/system/classes/kohana/session/native.php"
3
integer 43
4
array(1) ( "id" => NULL )
-
SYSPATH/classes/kohana/session/native.php [ 43 ] » session_start()
38 // Set the session id 39 session_id($id); 40 } 41 42 // Start the session 43 session_start(); 44 45 // Use the $_SESSION global for storing data 46 $this->_data =& $_SESSION; 47 48 return NULL;
-
SYSPATH/classes/kohana/session.php [ 297 ] » Kohana_Session_Native->_read(arguments)
0
NULL
292 * @param string session id 293 * @return void 294 */ 295 public function read($id = NULL) 296 { 297 if (is_string($data = $this->_read($id))) 298 { 299 try 300 { 301 if ($this->_encrypted) 302 {
-
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
-
MODPATH/auth/classes/kohana/auth.php [ 57 ] » Kohana_Session::instance()
52 public function __construct($config = array()) 53 { 54 // Save the config in the object 55 $this->_config = $config; 56 57 $this->_session = Session::instance(); 58 } 59 60 abstract protected function _login($username, $password, $remember); 61 62 abstract public function password($username);
-
MODPATH/auth/classes/kohana/auth.php [ 37 ] » Kohana_Auth->__construct(arguments)
0
object Config_File(6)
{ public driver => string(3) "orm" public hash_method => string(6) "sha256" public hash_key => string(8) "OVzoJD2K" public lifetime => integer 1209600 public session_key => string(9) "auth_user" public users => array(0) }
32 33 // Set the session class name 34 $class = 'Auth_'.ucfirst($type); 35 36 // Create a new session instance 37 Auth::$_instance = new $class($config); 38 } 39 40 return Auth::$_instance; 41 } 42
-
DOCROOT/packages/core/classes/controller/page.php [ 39 ] » Kohana_Auth::instance()
34 $this->template->quotation = $query['text']; 35 $this->template->bread = getbread($page); 36 37 38 39 if ( ! Auth::instance()->get_user() AND $this->request->uri() == 'forclientonly') 40 { 41 $this->request->redirect( 42 'auth/login/?next=/'.$this->request->uri() 43 ); 44 }
-
{PHP internal call} » Controller_Page->action_index(arguments)
0
string(7) "company"
-
SYSPATH/classes/kohana/request/client/internal.php [ 132 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Page(5)
{ public environment => object Twig_Environment(24)
{ protected charset => string(5) "utf-8" protected loader => object Twig_Loader_Kohana(1)
public auto_render => bool TRUE public template => object Twig(4){ protected cache => NULL }
protected debug => bool FALSE protected autoReload => bool TRUE protected cache => string(56) "/home/host1336171/russlift.ru/htdocs/www/site/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(6) ( "core" => object Twig_Extension_Core(0){ }
"escaper" => object Twig_Extension_Escaper(1){ protected autoescape => bool FALSE }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"kohana_twig" => object Kohana_Twig_Extensions(0){ }
"wg_twig" => object Wg_Twig_Extension(0){ }
"sandbox" => object Twig_Extension_Sandbox(3){ protected sandboxedGlobally => bool FALSE protected sandboxed => NULL protected policy => object Twig_Sandbox_SecurityPolicy(5)
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) }{ protected allowedTags => array(0) protected allowedFilters => array(0) protected allowedMethods => array(0) protected allowedProperties => array(0) protected allowedFunctions => array(0) }
}{ protected _file => string(10) "page/index" protected _extension => string(4) "html" protected _data => array(2) ( "quotation" => string(186) "Проектирование лифтов. Поставка лифтового оборудования. Монтаж, реконструкция и модернизация лифтов" "bread" => string(52) "<a href='/'>Главная</a> | О компании" ) protected _environment => object Twig_Environment(24)
public request => object Request(20){ protected charset => string(5) "utf-8" protected loader => object Twig_Loader_Kohana(1)
}{ protected cache => NULL }
protected debug => bool FALSE protected autoReload => bool TRUE protected cache => string(56) "/home/host1336171/russlift.ru/htdocs/www/site/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(6) ( "core" => object Twig_Extension_Core(0){ }
"escaper" => object Twig_Extension_Escaper(1){ protected autoescape => bool FALSE }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"kohana_twig" => object Kohana_Twig_Extensions(0){ }
"wg_twig" => object Wg_Twig_Extension(0){ }
"sandbox" => object Twig_Extension_Sandbox(3){ protected sandboxedGlobally => bool FALSE protected sandboxed => NULL protected policy => object Twig_Sandbox_SecurityPolicy(5)
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) }{ protected allowedTags => array(0) protected allowedFilters => array(0) protected allowedMethods => array(0) protected allowedProperties => array(0) protected allowedFunctions => array(0) }
}{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(6) "<path>" protected _regex => array(1) ( "path" => string(2) ".*" ) protected _defaults => array(1) ( "controller" => string(4) "page" ) protected _route_regex => string(18) "#^(?P<path>.*)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "page" protected _action => string(5) "index" protected _uri => string(7) "company" protected _external => bool FALSE protected _params => array(1) ( "path" => string(7) "company" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1685633986 }
public _injected_routes => array(0) }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }1
array(1) ( "path" => string(7) "company" )
127 * Execute the main action with the parameters 128 * 129 * @deprecated $params passing is deprecated since version 3.1 130 * will be removed in 3.2. 131 */ 132 $method->invokeArgs($controller, $params); 133 134 // Execute the "after action" method 135 $class->getMethod('after')->invoke($controller); 136 137 // Stop response time
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client_Internal->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(4) "http" protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(6) "<path>" protected _regex => array(1) ( "path" => string(2) ".*" ) protected _defaults => array(1) ( "controller" => string(4) "page" ) protected _route_regex => string(18) "#^(?P<path>.*)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(4) "http" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "page" protected _action => string(5) "index" protected _uri => string(7) "company" protected _external => bool FALSE protected _params => array(1) ( "path" => string(7) "company" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(5){ protected _previous_environment => NULL protected _cache => NULL protected _allow_private_cache => bool FALSE protected _request_time => NULL protected _response_time => integer 1685633986 }
public _injected_routes => array(0) }1133 throw new Kohana_Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 111 ] » Kohana_Request->execute()
106 /** 107 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 108 * If no source is specified, the URI will be automatically detected. 109 */ 110 echo Request::factory() 111 ->execute() 112 ->send_headers() 113 ->body();