/home/klient.dhosting.pl/suchylas/bip.gci.suchylas.pl/vendor/mpdf/mpdf/src/Mpdf.php [ 11353 ]
11348 $path = substr($path, 0, strrpos($path, "/"));
11349 }
11350
11351 $path = $path . "/" . $filepath; // Make it an absolute path
11352
11353 } elseif ((strpos($path, ":/") === false || strpos($path, ":/") > 10) && !is_file($path)) { // It is a local link
11354
11355 if (substr($path, 0, 1) == "/") {
11356
11357 $tr = parse_url($basepath);
11358
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(362) "is_file(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/klient.dhosting.pl/suchylas/bip …"
2
string(83) "/home/klient.dhosting.pl/suchylas/bip.gci.suchylas.pl/vendor/mpdf/mpdf/src/Mpdf.php"
3
integer 11353
4
array(2) ( "path" => string(1) "/" "basepath" => string(28) "https://bip.gci.suchylas.pl/" )
-
/home/klient.dhosting.pl/suchylas/bip.gci.suchylas.pl/vendor/mpdf/mpdf/src/Mpdf.php [ 11353 ] » is_file(arguments)
filename
string(1) "/"
11348 $path = substr($path, 0, strrpos($path, "/")); 11349 } 11350 11351 $path = $path . "/" . $filepath; // Make it an absolute path 11352 11353 } elseif ((strpos($path, ":/") === false || strpos($path, ":/") > 10) && !is_file($path)) { // It is a local link 11354 11355 if (substr($path, 0, 1) == "/") { 11356 11357 $tr = parse_url($basepath); 11358
-
/home/klient.dhosting.pl/suchylas/bip.gci.suchylas.pl/vendor/mpdf/mpdf/src/Mpdf.php [ 13591 ] » Mpdf\Mpdf->GetFullPath(arguments)
0
string(1) "/"
13586 $path = ''; 13587 } 13588 if (trim($path) != '' && !(stristr($e, "src=") !== false && substr($path, 0, 4) == 'var:') && substr($path, 0, 1) != '@') { 13589 $path = htmlspecialchars_decode($path); // mPDF 5.7.4 URLs 13590 $orig_srcpath = $path; 13591 $this->GetFullPath($path); 13592 $regexp = '/ (href|src)="(.*?)"/i'; 13593 $e = preg_replace($regexp, ' \\1="' . $path . '"', $e); 13594 } 13595 }//END of Fix path values 13596 // Extract attributes
-
APPPATH/classes/pdf.php [ 222 ] » Mpdf\Mpdf->WriteHTML(arguments)
0
string(4722) "<article class="article_sub"> <div class="main_header"> <h1 style="font-size:30px; margin-bottom: 25px;font-family: 'Georgia'">D …"
1
integer 2
217 //default preferences 218 // $this->mpdf->SetAutoFont(AUTOFONT_ALL); 219 $this->mpdf->list_indent_first_level = 0; 220 221 // Render the HTML to a PDF 222 $this->mpdf->WriteHTML($rhtml, PDF::WRITE_HTML_BODY); 223 224 return $this; 225 } 226 227 /**
-
APPPATH/classes/pdf.php [ 254 ] » PDF->setDataToPdf(arguments)
0
string(4929) "<article class="article_sub"> <div class="main_header"> <h1 style="font-size:30px; margin-bottom: 25px;font-family: …"
249 250 //Set css 251 $this->setCssToPdf(); 252 253 // Render the HTML to a PDF 254 $this->setDataToPdf($rhtml); 255 256 return $this; 257 } 258 259 /**
-
APPPATH/classes/controller/cms.php [ 118 ] » PDF->render()
113 $this->disable_layout = true; 114 115 $pdf = PDF::factory('pdf/page', ['page' => $page]); 116 $pdf->setCss('site/css/style.css'); 117 118 $pdf->render(); 119 $file = $pdf->output('mpdf.pdf', 'S'); 120 121 if(isset($_SERVER['HTTP_USER_AGENT']) and strpos($_SERVER['HTTP_USER_AGENT'],'MSIE')) 122 { 123 Header('Content-Type: application/force-download');
-
{PHP internal call} » Controller_Cms->action_show()
-
SYSPATH/classes/kohana/request/client/internal.php [ 116 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Cms(17)
{ public layout => NULL public view => object View(2)
{ protected _file => string(88) "/home/klient.dhosting.pl/suchylas/bip.gci.suchylas.pl/app/application/views/cms/show.php" protected _data => array(1) ( "page" => object Model_Page(39)
public view_name => string(8) "cms/show" public session => object Session_Native(5){ protected _table_name => string(5) "pages" protected _belongs_to => array(1) ( "user" => array(2) ( "model" => string(4) "user" "foreign_key" => string(7) "user_id" ) ) protected _has_many => array(1) ( "files" => array(4) ( "model" => string(9) "page_file" "foreign_key" => string(7) "item_id" "through" => NULL "far_key" => string(7) "file_id" ) ) protected left_column => string(3) "lft" protected right_column => string(3) "rgt" protected level_column => string(3) "lvl" protected scope_column => string(5) "scope" protected use_scope => bool FALSE protected _has_one => array(0) protected _load_with => array(0) protected _validation => object Validation(6)
) }{ protected _bound => array(5) ( ":model" => object Model_Page(39) { *RECURSION* } ":original_values" => array(20) ( "id" => string(2) "58" "user_id" => string(2) "14" "title" => string(24) "Deklaracja dostępności" "slug" => string(22) "deklaracja-dostepnosci" "name" => string(24) "Deklaracja dostępności" "author" => string(16) "Tomasz Sosnowski" "lft" => string(2) "31" "rgt" => string(2) "32" "lvl" => string(1) "1" "scope" => NULL "content" => string(4137) "<h1 id="a11y-deklaracja">Deklaracja dostępności bip.gci.suchylas.pl</h1> <p id="a11y-wstep"><span id="a11y-podmiot">GCI sp. z o. …" "tags" => string(24) "deklaracja dostępności" "token" => string(9) "667692834" "views" => string(4) "2430" "is_published" => string(1) "1" "is_draft" => string(1) "0" "is_master" => string(1) "0" "created_at" => string(19) "2021-03-02 10:37:07" "updated_at" => string(19) "2024-03-29 08:19:30" "published_at" => string(19) "2021-03-02 10:37:12" ) ":changed" => array(2) ( "views" => string(5) "views" "updated_at" => string(10) "updated_at" ) ":validation" => object Validation(6) { *RECURSION* } ":data" => array(20) ( "id" => string(2) "58" "user_id" => string(2) "14" "title" => string(24) "Deklaracja dostępności" "slug" => string(22) "deklaracja-dostepnosci" "name" => string(24) "Deklaracja dostępności" "author" => string(16) "Tomasz Sosnowski" "lft" => string(2) "31" "rgt" => string(2) "32" "lvl" => string(1) "1" "scope" => NULL "content" => string(4137) "<h1 id="a11y-deklaracja">Deklaracja dostępności bip.gci.suchylas.pl</h1> <p id="a11y-wstep"><span id="a11y-podmiot">GCI sp. z o. …" "tags" => string(24) "deklaracja dostępności" "token" => string(9) "667692834" "views" => integer 2431 "is_published" => string(1) "1" "is_draft" => string(1) "0" "is_master" => string(1) "0" "created_at" => string(19) "2021-03-02 10:37:07" "updated_at" => string(19) "2024-03-29 14:15:41" "published_at" => string(19) "2021-03-02 10:37:12" ) ) protected _rules => array(0) protected _labels => array(20) ( "id" => string(2) "id" "user_id" => string(7) "user_id" "title" => string(5) "title" "slug" => string(4) "slug" "name" => string(4) "name" "author" => string(6) "author" "lft" => string(3) "lft" "rgt" => string(3) "rgt" "lvl" => string(3) "lvl" "scope" => string(5) "scope" "content" => string(7) "content" "tags" => string(4) "tags" "token" => string(5) "token" "views" => string(5) "views" "is_published" => string(12) "is_published" "is_draft" => string(8) "is_draft" "is_master" => string(9) "is_master" "created_at" => string(10) "created_at" "updated_at" => string(10) "updated_at" "published_at" => string(12) "published_at" ) protected _empty_rules => array(2) ( 0 => string(9) "not_empty" 1 => string(7) "matches" ) protected _errors => array(0) protected _data => array(20) ( "id" => string(2) "58" "user_id" => string(2) "14" "title" => string(24) "Deklaracja dostępności" "slug" => string(22) "deklaracja-dostepnosci" "name" => string(24) "Deklaracja dostępności" "author" => string(16) "Tomasz Sosnowski" "lft" => string(2) "31" "rgt" => string(2) "32" "lvl" => string(1) "1" "scope" => NULL "content" => string(4137) "<h1 id="a11y-deklaracja">Deklaracja dostępności bip.gci.suchylas.pl</h1> <p id="a11y-wstep"><span id="a11y-podmiot">GCI sp. z o. …" "tags" => string(24) "deklaracja dostępności" "token" => string(9) "667692834" "views" => integer 2431 "is_published" => string(1) "1" "is_draft" => string(1) "0" "is_master" => string(1) "0" "created_at" => string(19) "2021-03-02 10:37:07" "updated_at" => string(19) "2024-03-29 14:15:41" "published_at" => string(19) "2021-03-02 10:37:12" ) }
protected _object => array(20) ( "id" => string(2) "58" "user_id" => string(2) "14" "title" => string(24) "Deklaracja dostępności" "slug" => string(22) "deklaracja-dostepnosci" "name" => string(24) "Deklaracja dostępności" "author" => string(16) "Tomasz Sosnowski" "lft" => string(2) "31" "rgt" => string(2) "32" "lvl" => string(1) "1" "scope" => NULL "content" => string(4137) "<h1 id="a11y-deklaracja">Deklaracja dostępności bip.gci.suchylas.pl</h1> <p id="a11y-wstep"><span id="a11y-podmiot">GCI sp. z o. …" "tags" => string(24) "deklaracja dostępności" "token" => string(9) "667692834" "views" => integer 2431 "is_published" => string(1) "1" "is_draft" => string(1) "0" "is_master" => string(1) "0" "created_at" => string(19) "2021-03-02 10:37:07" "updated_at" => string(19) "2024-03-29 14:15:41" "published_at" => string(19) "2021-03-02 10:37:12" ) protected _changed => array(0) protected _original_values => array(20) ( "id" => string(2) "58" "user_id" => string(2) "14" "title" => string(24) "Deklaracja dostępności" "slug" => string(22) "deklaracja-dostepnosci" "name" => string(24) "Deklaracja dostępności" "author" => string(16) "Tomasz Sosnowski" "lft" => string(2) "31" "rgt" => string(2) "32" "lvl" => string(1) "1" "scope" => NULL "content" => string(4137) "<h1 id="a11y-deklaracja">Deklaracja dostępności bip.gci.suchylas.pl</h1> <p id="a11y-wstep"><span id="a11y-podmiot">GCI sp. z o. …" "tags" => string(24) "deklaracja dostępności" "token" => string(9) "667692834" "views" => integer 2431 "is_published" => string(1) "1" "is_draft" => string(1) "0" "is_master" => string(1) "0" "created_at" => string(19) "2021-03-02 10:37:07" "updated_at" => string(19) "2024-03-29 14:15:41" "published_at" => string(19) "2021-03-02 10:37:12" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool TRUE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "page" protected _object_plural => string(5) "pages" protected _table_columns => array(20) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "user_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(7) "user_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slug" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "author" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lft" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(3) "lft" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "rgt" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(3) "rgt" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lvl" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(3) "lvl" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "scope" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "scope" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "content" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "token" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "token" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "views" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(5) "views" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_published" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(12) "is_published" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_draft" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(8) "is_draft" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_master" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(9) "is_master" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "created_at" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "created_at" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "updated_at" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "updated_at" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "published_at" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "published_at" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(2) "58" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6){ protected _connection_id => string(40) "455e9f2ae83a396cb2078eaa0e850c9576931d34" protected _identifier => string(1) "`" public last_query => string(360) "SELECT `logger`.`id` AS `id`, `logger`.`user_id` AS `user_id`, `logger`.`item_id` AS `item_id`, `logger`.`type` AS `type`, `logg …" protected _instance => string(7) "default" protected _connection => object mysqli(18)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "page" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(26) "suchylas.mysql.dhosting.pl" "database" => string(15) "ciew7u_bipgcisu" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE "profiling" => bool TRUE ) }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
public auth => object Auth_ORM(2){ protected _session => object Session_Native(5)
public directory => string(0) "" public controller => string(3) "cms" public action => string(4) "show" public last_update => string(19) "2023-11-28 20:44:22" public settings => object Settings(0){ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
protected _config => object Config_Group(8){ public driver => string(3) "ORM" public hash_method => string(4) "sha1" public hash_key => string(40) "a214d510daa5eaa0fcfac88ded54bec4efe6f920" public lifetime => integer 1209600 public session_type => string(6) "native" public session_key => string(9) "auth_user" public users => array(0) public salt_pattern => string(34) "1, 3, 5, 9, 14, 15, 20, 21, 28, 30" }
}{ }
public breadcrumbs => array(1) ( 0 => array(2) ( "name" => string(24) "Deklaracja dostępności" "url" => string(26) "/58/deklaracja-dostepnosci" ) ) public modal_enable => bool FALSE public search_value => NULL public disable_layout => bool TRUE public title => string(24) "Deklaracja dostępności" public request => object Request(20){ 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(11) "<id>/<slug>" protected _regex => array(2) ( "id" => string(6) "[0-9]+" "slug" => string(14) "[A-Za-z0-9-_]+" ) protected _defaults => array(2) ( "controller" => string(3) "cms" "action" => string(4) "show" ) protected _route_regex => string(45) "#^(?P<id>[0-9]+)/(?P<slug>[A-Za-z0-9-_]+)$#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(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "cms" protected _action => string(4) "show" protected _uri => string(25) "58/deklaracja-dostepnosci" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "58" "slug" => string(22) "deklaracja-dostepnosci" ) protected _get => array(1) ( "download" => string(3) "pdf" ) 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(0) "" 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 TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(11) "<id>/<slug>" protected _regex => array(2) ( "id" => string(6) "[0-9]+" "slug" => string(14) "[A-Za-z0-9-_]+" ) protected _defaults => array(2) ( "controller" => string(3) "cms" "action" => string(4) "show" ) protected _route_regex => string(45) "#^(?P<id>[0-9]+)/(?P<slug>[A-Za-z0-9-_]+)$#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(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "cms" protected _action => string(4) "show" protected _uri => string(25) "58/deklaracja-dostepnosci" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "58" "slug" => string(22) "deklaracja-dostepnosci" ) protected _get => array(1) ( "download" => string(3) "pdf" ) 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 [ 1154 ] » 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 TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(11) "<id>/<slug>" protected _regex => array(2) ( "id" => string(6) "[0-9]+" "slug" => string(14) "[A-Za-z0-9-_]+" ) protected _defaults => array(2) ( "controller" => string(3) "cms" "action" => string(4) "show" ) protected _route_regex => string(45) "#^(?P<id>[0-9]+)/(?P<slug>[A-Za-z0-9-_]+)$#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(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "cms" protected _action => string(4) "show" protected _uri => string(25) "58/deklaracja-dostepnosci" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "58" "slug" => string(22) "deklaracja-dostepnosci" ) protected _get => array(1) ( "download" => string(3) "pdf" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
}1149 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1150 ':uri' => $this->_uri, 1151 )); 1152 } 1153 1154 return $this->_client->execute($this); 1155 } 1156 1157 /** 1158 * Returns whether this request is the initial request Kohana received. 1159 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 47 ] » Kohana_Request->execute()
42 43 require APPPATH.'bootstrap'.EXT; 44 45 try 46 { 47 echo Request::factory()->execute()->send_headers(TRUE)->body(); 48 } 49 catch(HTTP_Exception_403 $e) 50 { 51 header("Location: ".URL::site(Route::get('errors')->uri(['code' => $e->getCode()]))); 52 }