SYSPATH/classes/Kohana/URL.php [ 114 ]
109 }
110
111 // Validate $host, see if it matches trusted hosts
112 if ( ! static::is_trusted_host($host))
113 {
114 throw new Kohana_Exception(
115 'Untrusted host :host. If you trust :host, add it to the trusted hosts in the `url` config file.',
116 array(':host' => $host)
117 );
118 }
119 }
-
SYSPATH/classes/Kohana/URL.php [ 152 ] » Kohana_URL::base(arguments)
0string(5) "https"1bool TRUE
2NULL
147 // Encode all non-ASCII characters, as per RFC 1738 148 $path = preg_replace_callback('~([^/]+)~', 'URL::_rawurlencode_callback', $path); 149 } 150 151 // Concat the URL 152 return URL::base($protocol, $index, $subdomain).$path; 153 } 154 155 /** 156 * Callback used for encoding all non-ASCII characters, as per RFC 1738 157 * Used by URL::site() -
APPPATH/views/template.php [ 22 ] » Kohana_URL::site(arguments)
0NULL
1bool TRUE
17 18 <? foreach ($styles AS $file => $type) echo HTML::style( $file, array('media' => $type)), "\n" ?> 19 <? foreach ($scripts AS $file) echo HTML::script($file), "\n" ?> 20 21 <title><?= HTML::title( $title,'')?></title> 22 <base href="<?= URL::site(NULL, TRUE)?>" /> 23 24 </head> 25 26 <body> 27 <header id="headerTransparent" class="u-header u-header--center-aligned u-header--abs-top-md u-header--show-hide-md u-header--bg-transparent" data-header-fix-moment="500" data-header-fix-effect="slide"> -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(64) "/home/forestcr/public_html/backup/application/views/template.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(64) "/home/forestcr/public_html/backup/application/views/template.php"1array(15) ( "title" => array(2) ( 0 => string(15) " | Forest Creek" 1 => string(4) "Home" ) "content" => object View(2)
{ protected _file => string(61) "/home/forestcr/public_html/backup/application/views/index.php" protected _data => array(0) }"controller" => string(5) "Index" "action" => string(5) "index" "message" => string(0) "" "meta" => string(0) "" "keywords" => string(0) "" "checkDSGVO" => NULL "checkCartItems" => NULL "products" => NULL "cookieValDecoded" => NULL "basketCount" => NULL "basketSum" => NULL "styles" => array(7) ( "static/front/assets/vendor/bootstrap/css/bootstrap.css" => string(18) "screen, projection" "static/front/assets/vendor/font-awesome/css/all.css" => string(18) "screen, projection" "static/front/assets/vendor/hs-megamenu/src/hs.megamenu.css" => string(18) "screen, projection" "static/front/assets/vendor/custombox/dist/custombox.min.css" => string(18) "screen, projection" "static/front/assets/vendor/animate.css/animate.min.css" => string(18) "screen, projection" "static/front/assets/css/front.css" => string(18) "screen, projection" "static/front/assets/css/custom.css" => string(18) "screen, projection" ) "scripts" => array(13) ( 0 => string(52) "static/front/assets/vendor/jquery/dist/jquery.min.js" 1 => string(68) "static/front/assets/vendor/jquery-migrate/dist/jquery-migrate.min.js" 2 => string(59) "static/front/assets/vendor/popper.js/dist/umd/popper.min.js" 3 => string(53) "static/front/assets/vendor/bootstrap/bootstrap.min.js" 4 => string(36) "static/front/assets/vendor/appear.js" 5 => string(33) "static/front/assets/js/hs.core.js" 6 => string(46) "static/front/assets/js/components/hs.header.js" 7 => string(46) "static/front/assets/js/components/hs.unfold.js" 8 => string(48) "static/front/assets/js/helpers/hs.focus-state.js" 9 => string(50) "static/front/assets/js/components/hs.validation.js" 10 => string(54) "static/front/assets/js/components/hs.show-animation.js" 11 => string(58) "static/front/assets/js/components/hs.onscroll-animation.js" 12 => string(45) "static/front/assets/js/components/hs.go-to.js" ) )354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message. -
SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()
155 public function body($content = NULL) 156 { 157 if ($content === NULL) 158 return $this->_body; 159 160 $this->_body = (string) $content; 161 return $this; 162 } 163 164 /** 165 * Gets or sets the HTTP protocol. The standard protocol to use -
APPPATH/classes/Controller/Template.php [ 115 ] » Kohana_Response->body(arguments)
0object View(2)
{ protected _file => string(64) "/home/forestcr/public_html/backup/application/views/template.php" protected _data => array(15) ( "title" => array(2) ( 0 => string(15) " | Forest Creek" 1 => string(4) "Home" ) "content" => object View(2){ protected _file => string(61) "/home/forestcr/public_html/backup/application/views/index.php" protected _data => array(0) }"controller" => string(5) "Index" "action" => string(5) "index" "message" => string(0) "" "meta" => string(0) "" "keywords" => string(0) "" "checkDSGVO" => NULL "checkCartItems" => NULL "products" => NULL "cookieValDecoded" => NULL "basketCount" => NULL "basketSum" => NULL "styles" => array(7) ( "static/front/assets/vendor/bootstrap/css/bootstrap.css" => string(18) "screen, projection" "static/front/assets/vendor/font-awesome/css/all.css" => string(18) "screen, projection" "static/front/assets/vendor/hs-megamenu/src/hs.megamenu.css" => string(18) "screen, projection" "static/front/assets/vendor/custombox/dist/custombox.min.css" => string(18) "screen, projection" "static/front/assets/vendor/animate.css/animate.min.css" => string(18) "screen, projection" "static/front/assets/css/front.css" => string(18) "screen, projection" "static/front/assets/css/custom.css" => string(18) "screen, projection" ) "scripts" => array(13) ( 0 => string(52) "static/front/assets/vendor/jquery/dist/jquery.min.js" 1 => string(68) "static/front/assets/vendor/jquery-migrate/dist/jquery-migrate.min.js" 2 => string(59) "static/front/assets/vendor/popper.js/dist/umd/popper.min.js" 3 => string(53) "static/front/assets/vendor/bootstrap/bootstrap.min.js" 4 => string(36) "static/front/assets/vendor/appear.js" 5 => string(33) "static/front/assets/js/hs.core.js" 6 => string(46) "static/front/assets/js/components/hs.header.js" 7 => string(46) "static/front/assets/js/components/hs.unfold.js" 8 => string(48) "static/front/assets/js/helpers/hs.focus-state.js" 9 => string(50) "static/front/assets/js/components/hs.validation.js" 10 => string(54) "static/front/assets/js/components/hs.show-animation.js" 11 => string(58) "static/front/assets/js/components/hs.onscroll-animation.js" 12 => string(45) "static/front/assets/js/components/hs.go-to.js" ) ) }110 } 111 // .. or save resources if template isn't being rendered 112 else 113 { 114 // Finally, render the template and respond 115 $this->response->body($this->template); 116 } 117 } 118 119 return parent::after(); 120 } -
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92 -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_Index(10)
{ public template => object View(2){ protected _file => string(64) "/home/forestcr/public_html/backup/application/views/template.php" protected _data => array(15) ( "title" => array(2) ( 0 => string(15) " | Forest Creek" 1 => string(4) "Home" ) "content" => object View(2)public auto_render => bool TRUE protected Auth => bool FALSE protected member => NULL protected superadmin => bool FALSE protected staff => bool FALSE protected partner => bool FALSE protected frontend => bool FALSE public request => object Request(19){ protected _file => string(61) "/home/forestcr/public_html/backup/application/views/index.php" protected _data => array(0) }"controller" => string(5) "Index" "action" => string(5) "index" "message" => string(0) "" "meta" => string(0) "" "keywords" => string(0) "" "checkDSGVO" => NULL "checkCartItems" => NULL "products" => NULL "cookieValDecoded" => NULL "basketCount" => NULL "basketSum" => NULL "styles" => array(7) ( "static/front/assets/vendor/bootstrap/css/bootstrap.css" => string(18) "screen, projection" "static/front/assets/vendor/font-awesome/css/all.css" => string(18) "screen, projection" "static/front/assets/vendor/hs-megamenu/src/hs.megamenu.css" => string(18) "screen, projection" "static/front/assets/vendor/custombox/dist/custombox.min.css" => string(18) "screen, projection" "static/front/assets/vendor/animate.css/animate.min.css" => string(18) "screen, projection" "static/front/assets/css/front.css" => string(18) "screen, projection" "static/front/assets/css/custom.css" => string(18) "screen, projection" ) "scripts" => array(13) ( 0 => string(52) "static/front/assets/vendor/jquery/dist/jquery.min.js" 1 => string(68) "static/front/assets/vendor/jquery-migrate/dist/jquery-migrate.min.js" 2 => string(59) "static/front/assets/vendor/popper.js/dist/umd/popper.min.js" 3 => string(53) "static/front/assets/vendor/bootstrap/bootstrap.min.js" 4 => string(36) "static/front/assets/vendor/appear.js" 5 => string(33) "static/front/assets/js/hs.core.js" 6 => string(46) "static/front/assets/js/components/hs.header.js" 7 => string(46) "static/front/assets/js/components/hs.unfold.js" 8 => string(48) "static/front/assets/js/helpers/hs.focus-state.js" 9 => string(50) "static/front/assets/js/components/hs.validation.js" 10 => string(54) "static/front/assets/js/components/hs.show-animation.js" 11 => string(58) "static/front/assets/js/components/hs.onscroll-animation.js" 12 => string(45) "static/front/assets/js/components/hs.go-to.js" ) ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(17) "(<index>(/index))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(45) "#^(?:(?P<index>[^/.,;?\n]++)(?:/index)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Index" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(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 => string(8) "HTTP/2.0" }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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(17) "(<index>(/index))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(45) "#^(?:(?P<index>[^/.,;?\n]++)(?:/index)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Index" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(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) }}1object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0){ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/2.0" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 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 [ 993 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(17) "(<index>(/index))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(5) "index" "action" => string(5) "index" ) protected _route_regex => string(45) "#^(?:(?P<index>[^/.,;?\n]++)(?:/index)?)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Index" protected _action => string(5) "index" protected _uri => string(0) "" protected _external => bool FALSE protected _params => array(0) protected _get => array(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) }}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * Can be used to test for sub requests. -
DOCROOT/backup/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }