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/Product/Category.php [ 73 ]
68 else 69 { 70 $cache_key = CP . 'catalog_top_' . $current_category->id; 71 } 72 73 if ($result = $cache_instance->get($cache_key)) 74 { 75 return $result; 76 } 77 78 $catalog = ORM::factory('Esup_Product_Category')
-
APPPATH/views/_partial/header.php [ 67 ]
62 </div> 63 </div> 64 </div> 65 <?php 66 echo ORM::factory('Product_Category') 67 ->get_catalog_html('top', $current_category); 68 ?> 69 </header>
-
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 [ 49 ]
44 </a> 45 </div> 46 </div> 47 </div> 48 <div class="footer_down"> 49 <?php echo $header ?> 50 <?php echo $content ?> 51 </div> 52 <?php echo $footer ?> 53 <?php 54 echo $assets->body_close->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/vhosts/kazcam.kz/httpdocs/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 }