MODPATH/database/classes/Kohana/Database/MySQL.php [ 194 ]
189 {
190 // This benchmark is worthless
191 Profiler::delete($benchmark);
192 }
193
194 throw new Database_Exception(':error [ :query ]',
195 array(':error' => mysql_error($this->_connection), ':query' => $sql),
196 mysql_errno($this->_connection));
197 }
198
199 if (isset($benchmark))
-
MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
object Database_Expression(2)
{ protected _parameters => array(0) protected _value => string(1290) " SELECT `products`.`id`, `products`.`name`, `products`.`short_specification`, `products`.`alias`, `products`.`category …" }
2
bool FALSE
3
array(0)
246 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 247 } 248 } 249 250 // Execute the query 251 $result = $db->query($this->_type, $sql, $as_object, $object_params); 252 253 if (isset($cache_key) AND $this->_lifetime > 0) 254 { 255 // Cache the result array 256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
APPPATH/classes/Controller/Brands.php [ 149 ] » Kohana_Database_Query->execute()
144 145 $products = DB::query( Database::SELECT, DB::expr( $sql ) ); 146 147 148 return $products 149 ->execute() 150 ->as_array(); 151 152 } 153 154 public static function brands_array()
-
APPPATH/classes/Controller/Brands.php [ 98 ] » Controller_Brands->productlist(arguments)
0
object Model_Brand(36)
{ protected _fields_names => array(12) ( 0 => string(2) "id" 1 => string(4) "name" 2 => string(11) "description" 3 => string(4) "logo" 4 => string(4) "site" 5 => string(5) "alias" 6 => string(6) "public" 7 => string(3) "pos" 8 => string(13) "metatag_title" 9 => string(19) "metatag_description" 10 => string(16) "metatag_keywords" 11 => string(8) "seo_text" ) protected _form_fields => array(10) ( 0 => string(4) "name" 1 => string(11) "description" 2 => string(5) "alias" 3 => string(4) "logo" 4 => string(6) "public" 5 => string(4) "site" 6 => string(13) "metatag_title" 7 => string(16) "metatag_keywords" 8 => string(19) "metatag_description" 9 => string(8) "seo_text" ) protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(12) ( "id" => NULL "name" => NULL "description" => NULL "logo" => NULL "site" => NULL "alias" => NULL "public" => NULL "pos" => NULL "metatag_title" => NULL "metatag_description" => NULL "metatag_keywords" => NULL "seo_text" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(5) "brand" protected _object_plural => string(6) "brands" protected _table_name => string(6) "brands" protected _table_columns => array(12) ( "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) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "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 FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "150" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "logo" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "logo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "60" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "site" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "site" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "60" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "alias" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "alias" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "150" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "public" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "public" "column_default" => string(3) "yes" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(15) "utf8_general_ci" "options" => array(2) ( 0 => string(3) "yes" 1 => string(2) "no" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pos" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(3) "pos" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metatag_title" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "metatag_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "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" ) "metatag_description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(19) "metatag_description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metatag_keywords" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(16) "metatag_keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "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" ) "seo_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "seo_text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "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" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
{ protected _connection_id => string(40) "5b5f48da8fbb253c88585046cd75f6682d914f91" protected _identifier => string(1) "`" public last_query => string(119) "SELECT COUNT(`product`.`id`) AS `records_found` FROM `products` AS `product` WHERE `brand_id` = '' AND `public` = 'yes'" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(19) "colorcity_colorcity" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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(5) "brand" }1
integer 100
2
integer 0
93 $limit_offset = 'LIMIT ' . $pagination->items_per_page . ' OFFSET ' . $pagination->offset; 94 } 95 96 97 /*$products = $this->productlist( $brandId, $pagination->items_per_page, $pagination->offset );*/ 98 $products = $this->productlist( $brandId, $pagination->items_per_page, $pagination->offset ); 99 100 101 102 $this->template->content = View::factory( 'Products/products_index_detail_list_view', 103 array( 'a_products' => $products, 'pagination' => $pagination ) );
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Brands->action_product()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Brands(6)
{ public template => object View(2)
{ protected _file => string(80) "/home/colorcity/domains/colorcity76.ru/public_html/application/views/Product.php" protected _data => array(7) ( "styles" => array(0) "scripts" => array(0) "content" => string(0) "" "company_name" => string(43) "Колор City Сеть магазинов" "services_html" => object View(2)
public data => array(0) public config => object Config_Group(28){ protected _file => string(104) "/home/colorcity/domains/colorcity76.ru/public_html/application/views/Services/services_list_for_menu.php" protected _data => array(1) ( "a_services" => array(4) ( 0 => array(4) ( "id" => string(1) "1" "name" => string(60) "Нанесение декоративных покрытий" "short_description" => string(439) "<p> Салон-магазин «КолорСити» не только продает декоративные покрытия, но также предлагает воспользоваться  …" "alias" => string(31) "nanesenie_dekorativnyh_pokrytiy" ) 1 => array(4) ( "id" => string(1) "2" "name" => string(18) "Колеровка" "short_description" => string(0) "" "alias" => string(9) "kolerovka" ) 2 => array(4) ( "id" => string(1) "3" "name" => string(49) "Доставка краски на объекты" "short_description" => string(0) "" "alias" => string(26) "dostavka_kraski_na_obyekty" ) 3 => array(4) ( "id" => string(1) "4" "name" => string(25) "Мастер-классы" "short_description" => string(0) "" "alias" => string(13) "master_klassy" ) ) ) }
"breadcrumbs" => string(6) "</div>" "product_list_for_footer" => object View(2){ protected _file => string(105) "/home/colorcity/domains/colorcity76.ru/public_html/application/views/Products/product_list_for_footer.php" protected _data => array(0) }
) }{ public company_name => string(43) "Колор City Сеть магазинов" public title => string(43) "Колор City Сеть магазинов" public description => string(99) "Колор City Мир полон красок! Мы предлагаем лучшие из них!" public keywords => string(98) "Колор City Мир полон красок Мы предлагаем лучшие из них" public page_title => array(1) ( "products" => string(12) "Товары" ) public creaete => string(14) "Создать" public edit => string(26) "Редактировать" public delite => string(14) "Удалить" public images => array(1) ( "prewiev" => array(4) ( "width" => integer 150 "height" => integer 150 "background_color" => string(7) "#f3f3f3" "postfix" => string(6) "_small" ) ) public upload => string(8) "/upload/" public uploadForExamples => string(68) "/home/colorcity/domains/colorcity76.ru/public_html/uploads/examples/" public SmtpMailServer => string(17) "smtp.peterhost.ru" public SmtpMailPort => integer 587 public MailRecipient => string(22) "noreply@colorcity76.ru" public SmtpMailUsername => string(11) "colorcity_8" public SmtpMailPassword => string(11) "TNG1jLDeV1Q" public EmailTo => string(26) "irinacolorcity76@yandex.ru" public CopyEmailTo => string(24) "yaroslavl.city@yahoo.com" public SmtpMailDebug => integer 2 public SmtpMailNeedAuth => bool TRUE public SmtpMailAddReply => string(0) "" public SmtpMailReplyTo => string(0) "" public noLogoPlaceholder => string(26) "noLogoPlaceholder40x40.png" public perPage => integer 100 public productUrlPrefix => string(7) "product" public examplesUrlPrefix => string(6) "about:" public examplesTitleAlias => string(8) "examples" public left_menu => array(10) ( 0 => array(4) ( "name" => string(20) "Назначения" "item-id" => string(10) "assignment" "icon" => string(33) "item-icon fontello-icon-th-list-3" "submenu" => array(2) ( 0 => array(2) ( "link_text" => string(33) "Назначение список" "href" => string(17) "/admin/assignment" ) 1 => array(2) ( "link_text" => string(35) "Создать назначение" "href" => string(24) "/admin/assignment/create" ) ) ) 1 => array(4) ( "name" => string(18) "Категории" "item-id" => string(10) "categories" "icon" => string(33) "item-icon fontello-icon-th-list-3" "submenu" => array(2) ( 0 => array(2) ( "link_text" => string(18) "Категории" "href" => string(17) "/admin/categories" ) 1 => array(2) ( "link_text" => string(33) "Создать категорию" "href" => string(24) "/admin/categories/create" ) ) ) 2 => array(4) ( "name" => string(12) "Товары" "item-id" => string(8) "products" "icon" => string(33) "item-icon fontello-icon-basket-2" "submenu" => array(2) ( 0 => array(2) ( "link_text" => string(12) "Товары" "href" => string(15) "/admin/products" ) 1 => array(2) ( "link_text" => string(25) "Создать товар" "href" => string(22) "/admin/products/create" ) ) ) 3 => array(4) ( "name" => string(12) "Услуги" "item-id" => string(8) "services" "icon" => string(26) "item-icon aweso-icon-star" "submenu" => array(2) ( 0 => array(2) ( "link_text" => string(12) "Услуги" "href" => string(15) "/admin/services" ) 1 => array(2) ( "link_text" => string(27) "Создать услугу" "href" => string(22) "/admin/services/create" ) ) ) 4 => array(4) ( "name" => string(18) "Портфолио" "item-id" => string(8) "examples" "icon" => string(26) "item-icon aweso-icon-star" "submenu" => array(2) ( 0 => array(2) ( "link_text" => string(18) "Портфолио" "href" => string(16) "/admin/examples/" ) 1 => array(2) ( "link_text" => string(33) "Создать Портфолио" "href" => string(22) "/admin/examples/create" ) ) ) 5 => array(4) ( "name" => string(12) "Бренды" "item-id" => string(6) "brands" "icon" => string(24) "item-icon aweso-icon-tag" "submenu" => array(2) ( 0 => array(2) ( "link_text" => string(12) "Бренды" "href" => string(13) "/admin/brands" ) 1 => array(2) ( "link_text" => string(25) "Создать бренд" "href" => string(20) "/admin/brands/create" ) ) ) 6 => array(4) ( "name" => string(12) "Статьи" "item-id" => string(8) "articles" "icon" => string(31) "item-icon fontello-icon-feather" "submenu" => array(3) ( 0 => array(2) ( "link_text" => string(31) "Категории статей" "href" => string(19) "/admin/artcategory/" ) 1 => array(2) ( "link_text" => string(25) "Список статей" "href" => string(15) "/admin/articles" ) 2 => array(2) ( "link_text" => string(27) "Создать статью" "href" => string(22) "/admin/articles/create" ) ) ) 7 => array(4) ( "name" => string(14) "Новости" "item-id" => string(4) "news" "icon" => string(33) "item-icon fontello-icon-th-list-3" "submenu" => array(2) ( 0 => array(2) ( "link_text" => string(29) "Список новостей" "href" => string(16) "/admin/news/list" ) 1 => array(2) ( "link_text" => string(29) "Создать новость" "href" => string(18) "/admin/news/create" ) ) ) 8 => array(4) ( "name" => string(10) "Акции" "item-id" => string(7) "actions" "icon" => string(29) "item-icon fontello-icon-bell" "submenu" => array(1) ( 0 => array(2) ( "link_text" => string(10) "Акции" "href" => string(14) "/admin/actions" ) ) ) 9 => array(4) ( "name" => string(3) "SEO" "item-id" => string(7) "actions" "icon" => string(26) "item-icon aweso-icon-star" "submenu" => array(2) ( 0 => array(2) ( "link_text" => string(3) "SEO" "href" => string(10) "/admin/seo" ) 1 => array(2) ( "link_text" => string(18) "Создать SEO" "href" => string(17) "/admin/seo/create" ) ) ) ) }
public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(50) "http://www.colorcity76.ru/brands/product/fractalis" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Brands" protected _action => string(7) "product" protected _uri => string(24) "brands/product/fractalis" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "fractalis" ) 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.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)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(50) "http://www.colorcity76.ru/brands/product/fractalis" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Brands" protected _action => string(7) "product" protected _uri => string(24) "brands/product/fractalis" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "fractalis" ) 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) }
}1
object 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.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 [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => string(50) "http://www.colorcity76.ru/brands/product/fractalis" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "main" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Brands" protected _action => string(7) "product" protected _uri => string(24) "brands/product/fractalis" protected _external => bool FALSE protected _params => array(1) ( "id" => string(9) "fractalis" ) 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) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 124 ] » Kohana_Request->execute()
119 /** 120 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 121 * If no source is specified, the URI will be automatically detected. 122 */ 123 echo Request::factory( TRUE, array(), FALSE ) 124 ->execute() 125 ->send_headers( TRUE ) 126 ->body(); 127 }