/home/gmtransvn/domains/gmtrans.vn/public_html/core/utils/CFileHelper.php(130)
118 @chmod($dst,0777); 119 $folder=opendir($src); 120 while(($file=readdir($folder))!==false) 121 { 122 if($file==='.' || $file==='..') 123 continue; 124 $path=$src.DIRECTORY_SEPARATOR.$file; 125 $isFile=is_file($path); 126 if(self::validatePath($base,$file,$isFile,$fileTypes,$exclude)) 127 { 128 if($isFile) 129 { 130 copy($path,$dst.DIRECTORY_SEPARATOR.$file); 131 if(isset($options['newFileMode'])) 132 @chmod($dst.DIRECTORY_SEPARATOR.$file, $options['newFileMode']); 133 } 134 else if($level) 135 self::copyDirectoryRecursive($path,$dst.DIRECTORY_SEPARATOR.$file,$base.'/'.$file,$fileTypes,$exclude,$level-1,$options); 136 } 137 } 138 closedir($folder); 139 } 140 141 /** 142 * Returns the files found under the specified directory and subdirectories.
#0 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/core/utils/CFileHelper.php(130): copy("/home/gmtransvn/domains/gmtrans.vn/public_html/application/modul...", "/home/gmtransvn/domains/gmtrans.vn/public_html/assets/cad5d26d/c...") 125 $isFile=is_file($path); 126 if(self::validatePath($base,$file,$isFile,$fileTypes,$exclude)) 127 { 128 if($isFile) 129 { 130 copy($path,$dst.DIRECTORY_SEPARATOR.$file); 131 if(isset($options['newFileMode'])) 132 @chmod($dst.DIRECTORY_SEPARATOR.$file, $options['newFileMode']); 133 } 134 else if($level) 135 self::copyDirectoryRecursive($path,$dst.DIRECTORY_SEPARATOR.$file,$base.'/'.$file,$fileTypes,$exclude,$level-1,$options); |
#1 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/core/utils/CFileHelper.php(135): CFileHelper::copyDirectoryRecursive("/home/gmtransvn/domains/gmtrans.vn/public_html/application/modul...", "/home/gmtransvn/domains/gmtrans.vn/public_html/assets/cad5d26d/c...", "/css", array(), ...) 130 copy($path,$dst.DIRECTORY_SEPARATOR.$file); 131 if(isset($options['newFileMode'])) 132 @chmod($dst.DIRECTORY_SEPARATOR.$file, $options['newFileMode']); 133 } 134 else if($level) 135 self::copyDirectoryRecursive($path,$dst.DIRECTORY_SEPARATOR.$file,$base.'/'.$file,$fileTypes,$exclude,$level-1,$options); 136 } 137 } 138 closedir($folder); 139 } 140 |
#2 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/core/utils/CFileHelper.php(59): CFileHelper::copyDirectoryRecursive("/home/gmtransvn/domains/gmtrans.vn/public_html/application/modul...", "/home/gmtransvn/domains/gmtrans.vn/public_html/assets/cad5d26d", "", array(), ...) 54 { 55 $fileTypes=array(); 56 $exclude=array(); 57 $level=-1; 58 extract($options); 59 self::copyDirectoryRecursive($src,$dst,'',$fileTypes,$exclude,$level,$options); 60 } 61 62 /** 63 * Returns the files found under the specified directory and subdirectories. 64 * @param string $dir the directory under which the files will be looked for |
#3 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/core/web/CAssetManager.php(248): CFileHelper::copyDirectory("/home/gmtransvn/domains/gmtrans.vn/public_html/application/modul...", "/home/gmtransvn/domains/gmtrans.vn/public_html/assets/cad5d26d", array("exclude" => array(".svn", ".gitignore"), "level" => -1, "newDirMode" => 511, "newFileMode" => 438)) 243 { 244 CFileHelper::copyDirectory($src,$dstDir,array( 245 'exclude'=>$this->excludeFiles, 246 'level'=>$level, 247 'newDirMode'=>$this->newDirMode, 248 'newFileMode'=>$this->newFileMode, 249 )); 250 } 251 252 return $this->_published[$path]=$this->getBaseUrl().'/'.$dir; 253 } |
#4 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/application/modules/frontend/FrontendModule.php(19): CAssetManager->publish("/home/gmtransvn/domains/gmtrans.vn/public_html/application/modul...", false, -1, true) 14 15 private $_assetsUrl; 16 17 public function getAssetsUrl() { 18 if ($this->_assetsUrl === null) 19 $this->_assetsUrl = Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('frontend.assets'), FALSE, -1, YII_DEBUG); 20 return $this->_assetsUrl; 21 } 22 23 public function beforeControllerAction($controller, $action) { 24 if (parent::beforeControllerAction($controller, $action)) { |
#5 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/application/components/BaseController.php(21): FrontendModule->getAssetsUrl() 16 return $this->createAbsoluteUrl('/') . '/static'; 17 } 18 19 public function getAssetsUrl() { 20 if ($this->getModule() != null) { 21 return $this->getModule()->getAssetsUrl(); 22 } 23 if ($this->_assetsUrl === null) 24 $this->_assetsUrl = Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('application.assets'), FALSE, -1, YII_DEBUG); 25 return $this->_assetsUrl; 26 } |
#6 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/application/modules/frontend/components/Controller.php(18): BaseController->getAssetsUrl() 13 */ 14 public function init() { 15 parent::init(); 16 $this->pageTitle = Language::model()->translate('site-title'); 17 $script = Yii::app()->getClientScript(); 18 $script->registerScriptFile($this->getAssetsUrl() . '/js/main.js'); 19 $script->registerCssFile($this->getAssetsUrl() . '/css/style.css'); 20 $script->registerScriptFile($this->getAssetsUrl() . '/js/jquery.nivo.slider.js'); 21 $script->registerCssFile($this->getAssetsUrl() . '/themes/default/default.css'); 22 } 23 |
#7 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/core/web/CWebApplication.php(282): Controller->init() 277 if(($ca=$this->createController($route))!==null) 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}".', |
#8 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/core/web/CWebApplication.php(142): CWebApplication->runController("frontend/content/detail") 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. |
#9 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/core/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 /** |
#10 |
+
–
/home/gmtransvn/domains/gmtrans.vn/public_html/index.php(13): CApplication->run() 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |