/var/www/yurey/data/www/fujiyama-trading.ru/protected/extensions/skyimage/SkyImageAction.php(155)
143 if($parameters[4]!=0) $this->crop_x = (int)$parameters[4]; 144 if($parameters[5]!=0) $this->crop_y = (int)$parameters[5]; 145 if($parameters[6]!=0) $this->quality = (int)$parameters[6]; // Качество 146 if($parameters[1]>300) $this->mergeimage = 1; // Качество 147 148 if(isset($_GET['folder'])) $this->folder = $_GET['folder']; 149 if(isset($_GET['path'])) $this->path = $this->root_folder.DIRECTORY_SEPARATOR.$this->folder.DIRECTORY_SEPARATOR.$_GET['path']; 150 151 152 $url = Yii::app()->baseUrl.$this->path; 153 $this->fullpath = dirname(Yii::app()->basePath).$this->path; 154 155 $imageSize = GetImageSize ( $this->fullpath ); 156 157 // Размер изходной картинки 158 $this->origWidth = $imageSize[0]; 159 $this->origHeight = $imageSize[1]; 160 161 // Тип изображения 162 list($type, $mime) = explode("/", $imageSize['mime']); 163 $this->mime = $mime; 164 165 166 167 // Если исходный размер больше заданного
#0 |
+
–
/var/www/yurey/data/www/fujiyama-trading.ru/protected/extensions/skyimage/SkyImageAction.php(155): getimagesize("/var/www/yurey/data/www/fujiyama-trading.ru/files/autos/599d5c15...") 150 151 152 $url = Yii::app()->baseUrl.$this->path; 153 $this->fullpath = dirname(Yii::app()->basePath).$this->path; 154 155 $imageSize = GetImageSize ( $this->fullpath ); 156 157 // Размер изходной картинки 158 $this->origWidth = $imageSize[0]; 159 $this->origHeight = $imageSize[1]; 160 |
#1 |
+
–
/var/www/yurey/data/www/framework/web/actions/CAction.php(75): SkyImageAction->run() 70 { 71 $method=new ReflectionMethod($this, 'run'); 72 if($method->getNumberOfParameters()>0) 73 return $this->runWithParamsInternal($this, $method, $params); 74 else 75 return $this->run(); 76 } 77 78 /** 79 * Executes a method of an object with the supplied named parameters. 80 * This method is internally used. |
#2 |
+
–
/var/www/yurey/data/www/framework/web/CController.php(309): CAction->runWithParams(array("parameters" => "0.1100.0.0.2.2.89", "folder" => "autos", "path" => "599d5c159009c_f0a95f6dea0726f328add0401401a5f020dd.jpg")) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#3 |
+
–
/var/www/yurey/data/www/framework/web/CController.php(287): CController->runAction(SkyImageAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#4 |
+
–
/var/www/yurey/data/www/framework/web/CController.php(266): CController->runActionWithFilters(SkyImageAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#5 |
+
–
/var/www/yurey/data/www/framework/web/CWebApplication.php(283): CController->run("imageResize") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
#6 |
+
–
/var/www/yurey/data/www/framework/web/CWebApplication.php(142): CWebApplication->runController("_system/resize/imageResize") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#7 |
+
–
/var/www/yurey/data/www/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#8 |
+
–
/var/www/yurey/data/www/fujiyama-trading.ru/protected/components/WebApplicationEndBehavior.php(26): CApplication->run() 21 // Attach the changeModulePaths event handler 22 // and raise it. 23 $this->onModuleCreate = array($this, 'changeModulePaths'); 24 $this->onModuleCreate(new CEvent($this->owner)); 25 26 $this->owner->run(); // Run application. 27 } 28 29 // This event should be raised when CWebApplication 30 // or CWebModule instances are being initialized. 31 public function onModuleCreate($event) |
#9 |
unknown(0): WebApplicationEndBehavior->runEnd("front")
|
#10 |
+
–
/var/www/yurey/data/www/framework/base/CComponent.php(261): call_user_func_array(array(WebApplicationEndBehavior, "runEnd"), array("front")) 256 if($this->_m!==null) 257 { 258 foreach($this->_m as $object) 259 { 260 if($object->getEnabled() && method_exists($object,$name)) 261 return call_user_func_array(array($object,$name),$parameters); 262 } 263 } 264 if(class_exists('Closure', false) && $this->canGetProperty($name) && $this->$name instanceof Closure) 265 return call_user_func_array($this->$name, $parameters); 266 throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".', |
#11 |
+
–
/var/www/yurey/data/www/fujiyama-trading.ru/indexy.php(85): CComponent->__call("runEnd", array("front")) 80 // Remove the following lines when in production mode 81 defined('YII_DEBUG') or define('YII_DEBUG', true); 82 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 83 84 require_once($yii); 85 Yii::createWebApplication($config)->runEnd('front'); 86 87 88 89 90 ?> |
#12 |
+
–
/var/www/yurey/data/www/fujiyama-trading.ru/indexy.php(85): CWebApplication->runEnd("front") 80 // Remove the following lines when in production mode 81 defined('YII_DEBUG') or define('YII_DEBUG', true); 82 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 83 84 require_once($yii); 85 Yii::createWebApplication($config)->runEnd('front'); 86 87 88 89 90 ?> |