MODPATH/cache/classes/Kohana/Cache/Memcache.php [ 120 ]
115 protected function __construct(array $config)
116 {
117 // Check for the memcache extention
118 if ( ! extension_loaded('memcache'))
119 {
120 throw new Cache_Exception('Memcache PHP extention not loaded');
121 }
122
123 parent::__construct($config);
124
125 // Setup Memcache
-
MODPATH/cache/classes/Kohana/Cache.php [ 147 ] » Kohana_Cache_Memcache->__construct(arguments)
0
array(5) ( "driver" => string(8) "memcache" "default_expire" => integer 3600 "compression" => bool FALSE "servers" => array(1) ( "local" => array(7) ( "host" => string(9) "localhost" "port" => integer 11211 "persistent" => bool FALSE "weight" => integer 1 "timeout" => integer 1 "retry_interval" => integer 15 "status" => bool TRUE ) ) "instant_death" => bool TRUE )
142 143 $config = $config->get($group); 144 145 // Create a new cache type instance 146 $cache_class = 'Cache_'.ucfirst($config['driver']); 147 Cache::$instances[$group] = new $cache_class($config); 148 149 // Return the instance 150 return Cache::$instances[$group]; 151 } 152
-
MODPATH/categories/classes/Model/Category.php [ 55 ] » Kohana_Cache::instance(arguments)
0
string(8) "memcache"
50 51 public function count_videos() 52 { 53 $key = $this->id . '_count'; 54 55 $cache = Cache::instance('memcache'); 56 57 if (!$count = $cache->get($key)) { 58 $count = $this->videos->count_all(); 59 $cache->set($key, $count); 60 }
-
DOCROOT/public/themes/web/views/categories/index.php [ 18 ] » Model_Category->count_videos()
13 <img class="img-responsive" 14 src="<?php echo $category->image() ?>" 15 alt="<?php echo $category->name ?>" 16 style="width: 120%" 17 > 18 <div class="categories_videos"><img src="/themes/web/images/category_views_icon.png"> <?php echo $category->count_videos() ?> videos</div> 19 <div class="name_category"> 20 <h2 class="h4 h4_category"><?php echo $category->name ?></h2> 21 </div> 22 </a> 23 </div>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(79) "/var/www/house/data/www/house.porn/public/themes/web/views/categories/index.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)
0
string(79) "/var/www/house/data/www/house.porn/public/themes/web/views/categories/index.php"
1
array(2) ( "categories" => object Database_MySQLi_Result(7)
{ protected _internal_row => integer 1 protected _query => string(355) "SELECT `a_category`.`id` AS `id`, `a_category`.`views` AS `views`, `a_category`.`machine_name` AS `machine_name`, `a_category`.` …" protected _result => object mysqli_result(5)
"pages" => string(0) "" ){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 52 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }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.
-
DOCROOT/public/themes/web/views/template.php [ 194 ] » Kohana_View->__toString()
189 <?php if (!isset($related) && !isset($blog)): ?> 190 <div class="main"> 191 <div class="container" id="top"> 192 <?php endif ?> 193 194 <?php echo $content ?> 195 196 <?php if (!isset($related) && !isset($blog)): ?> 197 </div> 198 </div> 199 <style>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(71) "/var/www/house/data/www/house.porn/public/themes/web/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)
0
string(71) "/var/www/house/data/www/house.porn/public/themes/web/views/template.php"
1
array(6) ( "title" => string(50) "Free HD Porn Videos by categories | XXX Sex Movies" "content" => object View(2)
{ protected _file => string(79) "/var/www/house/data/www/house.porn/public/themes/web/views/categories/index.php" protected _data => array(2) ( "categories" => object Database_MySQLi_Result(7)
"description" => string(188) "<meta name="description" content="We have Free Porn Videos for every taste. Among them, everyone can choose appropriate XXX sex …" "about" => string(1477) "On our site presented the latest free porn videos that are interesting and exciting and taken by best porn studios in amazing qu …" "scripts" => string(0) "" "nofollow" => string(0) "" ){ protected _internal_row => integer 1 protected _query => string(355) "SELECT `a_category`.`id` AS `id`, `a_category`.`views` AS `views`, `a_category`.`machine_name` AS `machine_name`, `a_category`.` …" protected _result => object mysqli_result(5)
"pages" => string(0) "" ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 52 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }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/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
APPPATH/classes/Controller/Base.php [ 160 ] » Kohana_Controller_Template->after()
155 $this->template->about = $this->about; 156 $this->template->scripts = $this->scripts; 157 $this->template->nofollow = $this->nofollow ? $this->nofollow : ''; 158 } 159 160 parent::after(); 161 } 162 163 public function pages($pages) 164 { 165 if (empty($pages) && isset($_GET['page'])) {
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Base->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)
0
object Controller_Categories(17)
{ public title => string(50) "Free HD Porn Videos by categories | XXX Sex Movies" public about => string(1477) "On our site presented the latest free porn videos that are interesting and exciting and taken by best porn studios in amazing qu …" public description => string(188) "<meta name="description" content="We have Free Porn Videos for every taste. Among them, everyone can choose appropriate XXX sex …" public content => object View(2)
{ protected _file => string(79) "/var/www/house/data/www/house.porn/public/themes/web/views/categories/index.php" protected _data => array(2) ( "categories" => object Database_MySQLi_Result(7)
public scripts => string(0) "" public nofollow => bool FALSE public items_per_page => string(2) "24" public session => object Session_Native(5){ protected _internal_row => integer 1 protected _query => string(355) "SELECT `a_category`.`id` AS `id`, `a_category`.`views` AS `views`, `a_category`.`machine_name` AS `machine_name`, `a_category`.` …" protected _result => object mysqli_result(5)
"pages" => string(0) "" ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 52 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }{ 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 user => NULL public settings => object Config_Group(9){ 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(6) "sha256" public hash_key => string(47) "JAKSFH&W*@Y&R*WYR&*AW^RA*&SUIR&YO@*RA4684654842" public lifetime => integer 1209600 public session_type => string(6) "native" public session_key => string(9) "auth_user" public cost => integer 10 public users => array(0) }
}{ public blocked_countries => string(0) "" public enable => integer 1 public flood_time => string(2) "45" public per_page_touch => string(2) "14" public per_page_web => string(2) "24" public search_statistic => integer 0 public video_new => string(49) "cock-craving-casey-calvert-in-anal-gapping-action" public video_popular => string(55) "fair-haired-teen-rharri-rhound-rides-monster-sized-dick" public video_rated => string(58) "college-girl-melissa-moore-grinding-her-teachers-huge-cock" }
public country => string(0) "" protected access_level => bool FALSE public template => object View(2){ protected _file => string(71) "/var/www/house/data/www/house.porn/public/themes/web/views/template.php" protected _data => array(6) ( "title" => string(50) "Free HD Porn Videos by categories | XXX Sex Movies" "content" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(79) "/var/www/house/data/www/house.porn/public/themes/web/views/categories/index.php" protected _data => array(2) ( "categories" => object Database_MySQLi_Result(7)
"description" => string(188) "<meta name="description" content="We have Free Porn Videos for every taste. Among them, everyone can choose appropriate XXX sex …" "about" => string(1477) "On our site presented the latest free porn videos that are interesting and exciting and taken by best porn studios in amazing qu …" "scripts" => string(0) "" "nofollow" => string(0) "" ) }{ protected _internal_row => integer 1 protected _query => string(355) "SELECT `a_category`.`id` AS `id`, `a_category`.`views` AS `views`, `a_category`.`machine_name` AS `machine_name`, `a_category`.` …" protected _result => object mysqli_result(5)
"pages" => string(0) "" ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 52 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }{ 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(10) "categories" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "categories" "action" => string(5) "index" ) protected _route_regex => string(16) "#^categories$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Categories" protected _action => string(5) "index" protected _uri => string(10) "categories" 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" }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)
0
object 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(10) "categories" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "categories" "action" => string(5) "index" ) protected _route_regex => string(16) "#^categories$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Categories" protected _action => string(5) "index" protected _uri => string(10) "categories" 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) }
}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/2.0" }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)
0
object 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(10) "categories" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(10) "categories" "action" => string(5) "index" ) protected _route_regex => string(16) "#^categories$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Categories" protected _action => string(5) "index" protected _uri => string(10) "categories" 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/public/index.php [ 176 ] » Kohana_Request->execute()
171 /** 172 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 173 * If no source is specified, the URI will be automatically detected. 174 */ 175 echo Request::factory(TRUE, [], FALSE) 176 ->execute() 177 ->send_headers(TRUE) 178 ->body(); 179 }