MODPATH/cache/classes/kohana/cache/file.php [ 100 ]
95 }
96
97 // Check the read status of the directory
98 if ( ! $this->_cache_dir->isReadable())
99 {
100 throw new Cache_Exception('Unable to read from the cache directory :resource', array(':resource' => $this->_cache_dir->getRealPath()));
101 }
102
103 // Check the write status of the directory
104 if ( ! $this->_cache_dir->isWritable())
105 {
-
MODPATH/cache/classes/kohana/cache.php [ 137 ] » Kohana_Cache_File->__construct(arguments)
0
array(4) ( "driver" => string(4) "file" "cache_dir" => string(73) "/home/tapety/domains/tapety-obrazy.pl/public_html/application/cache/boxes" "default_expire" => integer 31536000 "ignore_on_delete" => array(3) ( 0 => string(10) ".gitignore" 1 => string(4) ".git" 2 => string(4) ".svn" ) )
132 133 $config = $config->get($group); 134 135 // Create a new cache type instance 136 $cache_class = 'Cache_'.ucfirst($config['driver']); 137 Cache::$instances[$group] = new $cache_class($config); 138 139 // Return the instance 140 return Cache::$instances[$group]; 141 } 142
-
MODPATH/dictionary/classes/lang.php [ 14 ] » Kohana_Cache::instance(arguments)
0
string(5) "boxes"
9 $domain = URL::base('http'); 10 $domain = str_replace('http://','',$domain); 11 $domain = str_replace('/','',$domain); 12 $domain = str_replace('www.','',$domain); 13 14 $lang = Cache::instance('boxes')->get('domain-lang-'.$domain); 15 if (empty($lang)) { 16 $lang = Model_langs::getDomainLang(strtolower($domain)); 17 Cache::instance('boxes')->set('domain-lang-'.$domain,$lang); 18 } 19
-
MODPATH/webpage/classes/controller/webpage.php [ 18 ] » Lang::setLang()
13 */ 14 public function before() { 15 parent::before(); 16 17 Token::get(); 18 Lang::setLang(); 19 20 } 21 22 /** 23 * Sprawdza czy dane o podanym kluczu istniejÄ…
-
{PHP internal call} » Controller_Webpage->before()
-
SYSPATH/classes/kohana/request/client/internal.php [ 103 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Creator(7)
{ public template => string(9) "view1colp" public boxes => array(4) ( "header" => array(2) ( 0 => string(12) "boxes/header" 1 => string(10) "boxes/menu" ) "center" => array(2) ( 0 => string(15) "boxes/searchbar" 1 => string(13) "boxes/creator" ) "footer" => array(1) ( 0 => string(12) "boxes/footer" ) "end" => array(1) ( 0 => string(15) "boxes/favourite" ) ) protected data => array(0) protected isCache => bool FALSE private view => NULL public request => object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(30) "<path>/<type>-<cid>-<photo_id>" protected _regex => array(4) ( "cid" => string(6) "[0-9]+" "photo_id" => string(6) "[0-9]+" "type" => string(6) "(g|f)+" "path" => string(15) "[a-zA-Z0-9-_/]+" ) protected _defaults => array(3) ( "controller" => string(7) "creator" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(85) "#^(?P<path>[a-zA-Z0-9-_/]+)/(?P<type>(g|f)+)-(?P<cid>[0-9]+)-(?P<photo_id>[0-9]+)$#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(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "creator" protected _action => string(5) "index" protected _uri => string(58) "obrazy-na-plotnie/polska/zalew-czorsztynski/f-196-58899792" protected _external => bool FALSE protected _params => array(5) ( "path" => string(43) "obrazy-na-plotnie/polska/zalew-czorsztynski" "type" => string(1) "f" "cid" => string(3) "196" "photo_id" => string(8) "58899792" "page" => integer 1 ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
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(8) "HTTP/1.1" }98 } 99 100 // Create a new instance of the controller 101 $controller = $class->newInstance($request, $request->response() ? $request->response() : $request->create_response()); 102 103 $class->getMethod('before')->invoke($controller); 104 105 // Determine the action to use 106 $action = $request->action(); 107 108 $params = $request->param();
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(30) "<path>/<type>-<cid>-<photo_id>" protected _regex => array(4) ( "cid" => string(6) "[0-9]+" "photo_id" => string(6) "[0-9]+" "type" => string(6) "(g|f)+" "path" => string(15) "[a-zA-Z0-9-_/]+" ) protected _defaults => array(3) ( "controller" => string(7) "creator" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(85) "#^(?P<path>[a-zA-Z0-9-_/]+)/(?P<type>(g|f)+)-(?P<cid>[0-9]+)-(?P<photo_id>[0-9]+)$#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(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "creator" protected _action => string(5) "index" protected _uri => string(58) "obrazy-na-plotnie/polska/zalew-czorsztynski/f-196-58899792" protected _external => bool FALSE protected _params => array(5) ( "path" => string(43) "obrazy-na-plotnie/polska/zalew-czorsztynski" "type" => string(1) "f" "cid" => string(3) "196" "photo_id" => string(8) "58899792" "page" => integer 1 ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(30) "<path>/<type>-<cid>-<photo_id>" protected _regex => array(4) ( "cid" => string(6) "[0-9]+" "photo_id" => string(6) "[0-9]+" "type" => string(6) "(g|f)+" "path" => string(15) "[a-zA-Z0-9-_/]+" ) protected _defaults => array(3) ( "controller" => string(7) "creator" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(85) "#^(?P<path>[a-zA-Z0-9-_/]+)/(?P<type>(g|f)+)-(?P<cid>[0-9]+)-(?P<photo_id>[0-9]+)$#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(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "creator" protected _action => string(5) "index" protected _uri => string(58) "obrazy-na-plotnie/polska/zalew-czorsztynski/f-196-58899792" protected _external => bool FALSE protected _params => array(5) ( "path" => string(43) "obrazy-na-plotnie/polska/zalew-czorsztynski" "type" => string(1) "f" "cid" => string(3) "196" "photo_id" => string(8) "58899792" "page" => integer 1 ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new 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 [ 123 ] » Kohana_Request->execute()
118 } 119 } 120 121 $req = Request::factory(); 122 123 echo $req->execute()->send_headers()->body(); 124 125 126 127