MODPATH/cache/classes/Kohana/Cache/File.php [ 483 ]
478 $lifetime = (int) $data->fgets();
479
480 // If we're at the EOF at this point, corrupted!
481 if ($data->eof())
482 {
483 throw new Cache_Exception(__METHOD__ . ' corrupted cache file!');
484 }
485
486 //close file
487 $data = null;
488
-
MODPATH/cache/classes/Kohana/Cache/File.php [ 143 ]
138 return $default; 139 } 140 else 141 { 142 // Test the expiry 143 if ($this->_is_expired($file)) 144 { 145 // Delete the file 146 $this->_delete_file($file, FALSE, TRUE); 147 return $default; 148 }
-
APPPATH/classes/Model/Article.php [ 17 ]
12 ->find_all(); 13 14 $cache_instance = Cache::instance(CACHE_DRIVER); 15 $cache_key = CP . '_left_articles_' . $visibility; 16 17 if ($result = $cache_instance->get($cache_key)) 18 { 19 return $result; 20 } 21 22 $result = View::factory('_partial/left/articles')
-
APPPATH/views/search/index.php [ 11 ]
6 echo ORM::factory('Product_Category') 7 ->get_catalog_html('left', $current_category); 8 ?> 9 <?php 10 echo ORM::factory('Article') 11 ->get_left_articles_html('hidden-xs'); 12 ?> 13 </div> 14 <main class="body_right"> 15 <?php echo $breadcrumbs_html ?> 16 <div class="tabs_block category_tabs">
-
SYSPATH/classes/Kohana/View.php [ 62 ]
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 ]
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 ]
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.
-
APPPATH/views/_layouts/main.php [ 51 ]
46 </div> 47 </div> 48 </div> 49 <div class="footer_down"> 50 <?php echo $header ?> 51 <?php echo $content ?> 52 </div> 53 <?php echo $footer ?> 54 <?php 55 echo $assets->body_close->css(); 56 echo $assets->body_close_min->css();
-
SYSPATH/classes/Kohana/View.php [ 62 ]
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 ]
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 ]
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
-
SYSPATH/classes/Kohana/Controller.php [ 87 ]
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}
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ]
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 ]
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 ]
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.
-
/var/www/pokushai.kz/data/www/pokushai.kz/public/index.php [ 138 ]
133 /** 134 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 135 * If no source is specified, the URI will be automatically detected. 136 */ 137 echo Request::factory(TRUE, [], FALSE) 138 ->execute() 139 ->send_headers(TRUE) 140 ->body(); 141 }