MODPATH/cache/classes/kohana/cache/file.php [ 234 ]
229 chmod($directory, 0777);
230 }
231
232 // Open file to inspect
233 $resouce = new SplFileInfo($directory.$filename);
234 $file = $resouce->openFile('w');
235
236 try
237 {
238 $data = $lifetime."\n".serialize($data);
239 $file->fwrite($data, strlen($data));
-
MODPATH/cache/classes/kohana/cache/file.php [ 234 ] » SplFileInfo->openFile(arguments)
0
string(1) "w"
229 chmod($directory, 0777); 230 } 231 232 // Open file to inspect 233 $resouce = new SplFileInfo($directory.$filename); 234 $file = $resouce->openFile('w'); 235 236 try 237 { 238 $data = $lifetime."\n".serialize($data); 239 $file->fwrite($data, strlen($data));
-
APPPATH/classes/common.php [ 1372 ] » Kohana_Cache_File->set(arguments)
0
string(35) "http://www.lyjr.cn/line/print/id/82"
1
string(4513) "<!doctype html> <html> <head> <meta charset="utf-8"> <title>-打印行程</title> <script> window.SITEURL = "/"; wind …"
2
integer 3600
1367 return $cache->get($key,''); 1368 } 1369 //设置缓存 1370 else if($type == 'set') 1371 { 1372 return $cache->set($key,$value,3600); 1373 } 1374 1375 } 1376 1377 /**
-
APPPATH/classes/controller/line.php [ 454 ] » Common::cache(arguments)
0
string(3) "set"
1
string(35) "http://www.lyjr.cn/line/print/id/82"
2
string(4513) "<!doctype html> <html> <head> <meta charset="utf-8"> <title>-打印行程</title> <script> window.SITEURL = "/"; wind …"
449 $info['startcity'] = Model_Startplace::start_city($info['startcity']); 450 $this->assign('info',$info); 451 $this->display('line/print'); 452 //缓存内容 453 $content = $this->response->body(); 454 Common::cache('set',$this->_cache_key,$content); 455 456 457 } 458 459 /*
-
{PHP internal call} » Controller_Line->action_print()
-
SYSPATH/classes/kohana/request/client/internal.php [ 116 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Line(7)
{ private typeid => integer 1 private _cache_key => string(35) "http://www.lyjr.cn/line/print/id/82" public _data => array(6) ( "cmsurl" => string(1) "/" "webname" => string(39) "临沂假日国际旅行社有限公司" "typeid" => integer 1 "channelname" => string(6) "线路" "info" => array(58) ( "id" => NULL "webid" => NULL "aid" => NULL "title" => NULL "seotitle" => NULL "startcity" => NULL "overcity" => NULL "linedate" => NULL "price" => NULL "lineday" => NULL "linenight" => NULL "litpic" => NULL "linedoc" => NULL "tagword" => NULL "keyword" => NULL "jieshao" => NULL "biaozhun" => NULL "beizu" => NULL "payment" => NULL "feeinclude" => NULL "features" => NULL "description" => NULL "shownum" => NULL "seatleft" => NULL "storeprice" => NULL "transport" => NULL "linebefore" => NULL "addtime" => NULL "modtime" => NULL "reserved1" => NULL "reserved2" => NULL "reserved3" => NULL "color" => NULL "childrule" => NULL "kindlist" => NULL "themelist" => NULL "attrid" => NULL "satisfyscore" => NULL "bookcount" => NULL "ishidden" => NULL "isstyle" => NULL "sellpoint" => NULL "piclist" => NULL "distance" => NULL "zijiaseat" => NULL "zijiaprice" => NULL "zijiacar" => NULL "showrepast" => NULL "paytype" => NULL "templet" => NULL "iconlist" => NULL "supplierlist" => NULL "insuranceids" => NULL "sourcelineid" => NULL "islinebefore" => NULL "recommendnum" => NULL "adminid" => NULL "finaldestid" => NULL ) "templetdata" => array(5) ( "cmsurl" => string(1) "/" "webname" => string(39) "临沂假日国际旅行社有限公司" "typeid" => integer 1 "channelname" => string(6) "线路" "info" => array(58) ( "id" => NULL "webid" => NULL "aid" => NULL "title" => NULL "seotitle" => NULL "startcity" => NULL "overcity" => NULL "linedate" => NULL "price" => NULL "lineday" => NULL "linenight" => NULL "litpic" => NULL "linedoc" => NULL "tagword" => NULL "keyword" => NULL "jieshao" => NULL "biaozhun" => NULL "beizu" => NULL "payment" => NULL "feeinclude" => NULL "features" => NULL "description" => NULL "shownum" => NULL "seatleft" => NULL "storeprice" => NULL "transport" => NULL "linebefore" => NULL "addtime" => NULL "modtime" => NULL "reserved1" => NULL "reserved2" => NULL "reserved3" => NULL "color" => NULL "childrule" => NULL "kindlist" => NULL "themelist" => NULL "attrid" => NULL "satisfyscore" => NULL "bookcount" => NULL "ishidden" => NULL "isstyle" => NULL "sellpoint" => NULL "piclist" => NULL "distance" => NULL "zijiaseat" => NULL "zijiaprice" => NULL "zijiacar" => NULL "showrepast" => NULL "paytype" => NULL "templet" => NULL "iconlist" => NULL "supplierlist" => NULL "insuranceids" => NULL "sourcelineid" => NULL "islinebefore" => NULL "recommendnum" => NULL "adminid" => NULL "finaldestid" => NULL ) ) ) public params => array(1) ( "id" => string(2) "82" ) protected cmsurl => string(1) "/" public request => object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(36) "(<controller>(/<action>(/<params>)))" protected _regex => array(1) ( "params" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(89) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<params>.*))?)?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(4513) "<!doctype html> <html> <head> <meta charset="utf-8"> <title>-打印行程</title> <script> window.SITEURL = "/"; wind …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "line" protected _action => string(5) "print" protected _uri => string(16) "line/print/id/82" protected _external => bool FALSE protected _params => array(1) ( "params" => string(5) "id/82" ) 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 }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(4513) "<!doctype html> <html> <head> <meta charset="utf-8"> <title>-打印行程</title> <script> window.SITEURL = "/"; wind …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }111 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 112 array(':uri' => $request->uri())); 113 } 114 115 $method = $class->getMethod('action_'.$action); 116 $method->invoke($controller); 117 118 // Execute the "after action" method 119 $class->getMethod('after')->invoke($controller); 120 } 121 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(36) "(<controller>(/<action>(/<params>)))" protected _regex => array(1) ( "params" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(89) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<params>.*))?)?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(4513) "<!doctype html> <html> <head> <meta charset="utf-8"> <title>-打印行程</title> <script> window.SITEURL = "/"; wind …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "line" protected _action => string(5) "print" protected _uri => string(16) "line/print/id/82" protected _external => bool FALSE protected _params => array(1) ( "params" => string(5) "id/82" ) 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 }
}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 [ 1160 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(36) "(<controller>(/<action>(/<params>)))" protected _regex => array(1) ( "params" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(89) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<params>.*))?)?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(4513) "<!doctype html> <html> <head> <meta charset="utf-8"> <title>-打印行程</title> <script> window.SITEURL = "/"; wind …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "line" protected _action => string(5) "print" protected _uri => string(16) "line/print/id/82" protected _external => bool FALSE protected _params => array(1) ( "params" => string(5) "id/82" ) 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 }
}1155 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1156 ':uri' => $this->_uri, 1157 )); 1158 } 1159 1160 return $this->_client->execute($this); 1161 } 1162 1163 /** 1164 * Returns whether this request is the initial request Kohana received. 1165 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 144 ] » Kohana_Request->execute()
139 /** 140 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 141 * If no source is specified, the URI will be automatically detected. 142 */ 143 echo Request::factory() 144 ->execute() 145 ->send_headers(TRUE) 146 ->body(); 147 148 }