SYSPATH/classes/Kohana/Arr.php [ 104 ]
99 // The path has already been separated into keys
100 $keys = $path;
101 }
102 else
103 {
104 if (array_key_exists($path, $array))
105 {
106 // No need to do extra processing
107 return $array[$path];
108 }
109
-
SYSPATH/classes/Kohana/Arr.php [ 104 ] » Kohana_Core::error_handler()
99 // The path has already been separated into keys 100 $keys = $path; 101 } 102 else 103 { 104 if (array_key_exists($path, $array)) 105 { 106 // No need to do extra processing 107 return $array[$path]; 108 } 109
-
SYSPATH/classes/Kohana/Config.php [ 116 ] » Kohana_Arr::path()
111 112 if (isset($this->_groups[$group])) 113 { 114 if (isset($path)) 115 { 116 return Arr::path($this->_groups[$group], $path, NULL, '.'); 117 } 118 return $this->_groups[$group]; 119 } 120 121 $config = array();
-
MODPATH/image/classes/Kohana/Image.php [ 49 ] » Kohana_Config->load()
44 public static function factory($file, $driver = NULL) 45 { 46 if ($driver === NULL) 47 { 48 // Use the driver from configuration file or default one 49 $configured_driver = Kohana::$config->load('image.default_driver'); 50 $driver = ($configured_driver) ? $configured_driver : Image::$default_driver; 51 } 52 53 // Set the class name 54 $class = 'Image_'.$driver;
-
APPPATH/classes/Model/Photos.php [ 162 ] » Kohana_Image::factory()
157 } 158 159 public static function getPhotoSizes($file) 160 { 161 if ($file != '' && file_exists(DOCROOT.Kohana::$config->load('site')->upload_folder."/photos/big/".$file)){ 162 $img = Image::factory(DOCROOT.Kohana::$config->load('site')->upload_folder."/photos/big/".$file); 163 return 'w: '.$img->width.',h: '.$img->height; 164 }else{ 165 return 'w: 0, h: 0'; 166 } 167 }
-
APPPATH/views/front/catalog/product.php [ 178 ] » Model_Photos::getPhotoSizes()
173 {src: '<?php echo Model_Photos::getPhotoBig(@$product["image"]); ?>', <?php echo Model_Photos::getPhotoSizes(@$product["image"]); ?>}, 174 <?php 175 if (count($photos) > 0){ 176 $i = 0; 177 foreach ($photos as $photo){ 178 echo "{src: '".Model_Photos::getPhotoBig(@$photo["image"])."', ".Model_Photos::getPhotoSizes(@$photo["image"])."},"; 179 } 180 } 181 ?> 182 ]; 183
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(95) "/home/albero/web/luxluce.albero-tver.ru/public_html/application/views/front/catalog/product.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()
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.
-
APPPATH/views/front/layout.php [ 280 ] » Kohana_View->__toString()
275 } 276 echo '</div>'; 277 } 278 ?> 279 </div> 280 <?php echo @$content; ?> 281 </main> 282 <footer> 283 <div id="footer"> 284 <div class="block"> 285 <div class="mhide menu">
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(86) "/home/albero/web/luxluce.albero-tver.ru/public_html/application/views/front/layout.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()
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
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->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 [ 97 ] » ReflectionMethod->invoke()
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()
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 [ 993 ] » Kohana_Request_Client->execute()
988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 120 ] » Kohana_Request->execute()
115 * If no source is specified, the URI will be automatically detected. 116 */ 117 try // фикс для php7 118 { 119 echo Request::factory(TRUE, array(), FALSE) 120 ->execute() 121 ->send_headers(TRUE) 122 ->body(); 123 } 124 catch (Error $e) // php7 Throwable 125 {