APPPATH/classes/URL.php [ 91 ]
86 // Validate $host, see if it matches trusted hosts
87 if ( ! static::is_trusted_host($host))
88 {
89 if ( Kohana::$environment == Kohana::DEVELOPMENT )
90 {
91 throw new Kohana_Exception(
92 'Untrusted host :host. If you trust :host, add it to the trusted hosts in the `url` config file.',
93 [':host' => $host]
94 );
95 }
96 else
-
SYSPATH/classes/Kohana/URL.php [ 164 ] » URL::base(arguments)
0string(5) "https"1bool TRUE
2NULL
159 // Encode all non-ASCII characters, as per RFC 1738 160 $path = preg_replace_callback('~([^/#]+)~', 'URL::_rawurlencode_callback', $path); 161 } 162 163 // Concat the URL 164 return URL::base($protocol, $index, $subdomain).$path; 165 } 166 167 /** 168 * Callback used for encoding all non-ASCII characters, as per RFC 1738 169 * Used by URL::site() -
APPPATH/views/template.php [ 44 ] » Kohana_URL::site(arguments)
0NULL
1bool TRUE
39 40 <meta property="og:type" content="website"/> 41 <meta property="og:title" content="<?= HTML::title( $title,'')?>"> 42 <meta property="og:description" content="<?= __('A no-code networking, content sharing, marketing and analytics platform for teams.') ?>"> 43 <meta property="og:image" content="static/logo-web-cover.png"> 44 <meta property="og:url" content="<?= URL::site(NULL, TRUE).Request::detect_uri() ?>"> 45 <meta property="fb:app_id" content="581692958025845"> 46 <?endif ?> 47 48 <? foreach ($styles AS $file) echo HTML::style($file), "\n" ?> 49 <? foreach ($scripts AS $file) echo HTML::script($file), "\n" ?> -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(80) "/home/bizcardedzone/public_html/dev.bizcarded.com/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(80) "/home/bizcardedzone/public_html/dev.bizcarded.com/application/views/template.php"1array(9) ( "title" => array(2) ( 0 => string(31) " | www.networkube.bizcarded.com" 1 => string(4) "Home" ) "content" => object View(2)
{ protected _file => string(89) "/home/bizcardedzone/public_html/dev.bizcarded.com/application/views/index-maintenance.php" protected _data => array(0) }"controller" => string(5) "Index" "action" => string(5) "index" "message" => string(0) "" "meta" => string(0) "" "checkGDPR" => NULL "styles" => array(5) ( 0 => string(40) "static/frontend/assets/css/theme.min.css" 1 => string(81) "static/frontend/assets/vendor/bootstrap-icons-1.11.3/font/bootstrap-icons.min.css" 2 => string(68) "static/frontend/assets/vendor/fontawesome-free-6.5.1/css/all.min.css" 3 => string(66) "static/frontend/assets/vendor/splide-4.1.3/dist/css/splide.min.css" 4 => string(37) "static/frontend/assets/css/custom.css" ) "scripts" => array(7) ( 0 => string(71) "static/frontend/assets/vendor/bootstrap/dist/js/bootstrap.bundle.min.js" 1 => string(62) "static/frontend/assets/vendor/jquery-3.6.1/jquery-3.6.1.min.js" 2 => string(38) "static/frontend/assets/js/theme.min.js" 3 => string(32) "static/frontend/assets/js/app.js" 4 => string(61) "static/frontend/assets/vendor/hs-header/dist/hs-header.min.js" 5 => string(59) "static/frontend/assets/vendor/hs-go-to/dist/hs-go-to.min.js" 6 => string(64) "static/frontend/assets/vendor/splide-4.1.3/dist/js/splide.min.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 [ 169 ] » Kohana_View->__toString()
164 public function body($content = NULL) 165 { 166 if ($content === NULL) 167 return $this->_body; 168 169 $this->_body = (string) $content; 170 return $this; 171 } 172 173 /** 174 * Gets or sets the HTTP protocol. The standard protocol to use -
APPPATH/classes/Controller/Template.php [ 133 ] » Kohana_Response->body(arguments)
0object View(2)
{ protected _file => string(80) "/home/bizcardedzone/public_html/dev.bizcarded.com/application/views/template.php" protected _data => array(9) ( "title" => array(2) ( 0 => string(31) " | www.networkube.bizcarded.com" 1 => string(4) "Home" ) "content" => object View(2){ protected _file => string(89) "/home/bizcardedzone/public_html/dev.bizcarded.com/application/views/index-maintenance.php" protected _data => array(0) }"controller" => string(5) "Index" "action" => string(5) "index" "message" => string(0) "" "meta" => string(0) "" "checkGDPR" => NULL "styles" => array(5) ( 0 => string(40) "static/frontend/assets/css/theme.min.css" 1 => string(81) "static/frontend/assets/vendor/bootstrap-icons-1.11.3/font/bootstrap-icons.min.css" 2 => string(68) "static/frontend/assets/vendor/fontawesome-free-6.5.1/css/all.min.css" 3 => string(66) "static/frontend/assets/vendor/splide-4.1.3/dist/css/splide.min.css" 4 => string(37) "static/frontend/assets/css/custom.css" ) "scripts" => array(7) ( 0 => string(71) "static/frontend/assets/vendor/bootstrap/dist/js/bootstrap.bundle.min.js" 1 => string(62) "static/frontend/assets/vendor/jquery-3.6.1/jquery-3.6.1.min.js" 2 => string(38) "static/frontend/assets/js/theme.min.js" 3 => string(32) "static/frontend/assets/js/app.js" 4 => string(61) "static/frontend/assets/vendor/hs-header/dist/hs-header.min.js" 5 => string(59) "static/frontend/assets/vendor/hs-go-to/dist/hs-go-to.min.js" 6 => string(64) "static/frontend/assets/vendor/splide-4.1.3/dist/js/splide.min.js" ) ) }128 $this->response->body($this->template->content); 129 } 130 else 131 { 132 // Finally, render the template and respond 133 $this->response->body($this->template); 134 } 135 } 136 137 return parent::after(); 138 } -
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 [ 94 ] » ReflectionMethod->invoke(arguments)
0object Controller_Index(4)
{ public template => object View(2){ protected _file => string(80) "/home/bizcardedzone/public_html/dev.bizcarded.com/application/views/template.php" protected _data => array(9) ( "title" => array(2) ( 0 => string(31) " | www.networkube.bizcarded.com" 1 => string(4) "Home" ) "content" => object View(2)public auto_render => bool TRUE public request => object Request(19){ protected _file => string(89) "/home/bizcardedzone/public_html/dev.bizcarded.com/application/views/index-maintenance.php" protected _data => array(0) }"controller" => string(5) "Index" "action" => string(5) "index" "message" => string(0) "" "meta" => string(0) "" "checkGDPR" => NULL "styles" => array(5) ( 0 => string(40) "static/frontend/assets/css/theme.min.css" 1 => string(81) "static/frontend/assets/vendor/bootstrap-icons-1.11.3/font/bootstrap-icons.min.css" 2 => string(68) "static/frontend/assets/vendor/fontawesome-free-6.5.1/css/all.min.css" 3 => string(66) "static/frontend/assets/vendor/splide-4.1.3/dist/css/splide.min.css" 4 => string(37) "static/frontend/assets/css/custom.css" ) "scripts" => array(7) ( 0 => string(71) "static/frontend/assets/vendor/bootstrap/dist/js/bootstrap.bundle.min.js" 1 => string(62) "static/frontend/assets/vendor/jquery-3.6.1/jquery-3.6.1.min.js" 2 => string(38) "static/frontend/assets/js/theme.min.js" 3 => string(32) "static/frontend/assets/js/app.js" 4 => string(61) "static/frontend/assets/vendor/hs-header/dist/hs-header.min.js" 5 => string(59) "static/frontend/assets/vendor/hs-go-to/dist/hs-go-to.min.js" 6 => string(64) "static/frontend/assets/vendor/splide-4.1.3/dist/js/splide.min.js" ) ) }{ 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 _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/1.1" }89 90 // Create a new instance of the controller 91 $controller = $class->newInstance($request, $response); 92 93 // Run the controller's execute() method 94 $response = $class->getMethod('execute')->invoke($controller); 95 96 if ( ! $response instanceof Response) 97 { 98 // Controller failed to return a Response. 99 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/1.1" 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/1.1" }109 $orig_response = $response = Response::factory(['_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 [ 1000 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ 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 _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) }}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * Can be used to test for sub requests. -
DOCROOT/index.php [ 122 ] » Kohana_Request->execute()
117 /** 118 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 119 * If no source is specified, the URI will be automatically detected. 120 */ 121 echo Request::factory(TRUE, [], FALSE) 122 ->execute() 123 ->send_headers(TRUE) 124 ->body(); 125 }