E:\etc\www\Question\regis\framework\utils\CFileHelper.php(152)
140 141 $folder=opendir($src); 142 while(($file=readdir($folder))!==false) 143 { 144 if($file==='.' || $file==='..') 145 continue; 146 $path=$src.DIRECTORY_SEPARATOR.$file; 147 $isFile=is_file($path); 148 if(self::validatePath($base,$file,$isFile,$fileTypes,$exclude)) 149 { 150 if($isFile) 151 { 152 copy($path,$dst.DIRECTORY_SEPARATOR.$file); 153 if(isset($options['newFileMode'])) 154 @chmod($dst.DIRECTORY_SEPARATOR.$file,$options['newFileMode']); 155 } 156 elseif($level) 157 self::copyDirectoryRecursive($path,$dst.DIRECTORY_SEPARATOR.$file,$base.'/'.$file,$fileTypes,$exclude,$level-1,$options); 158 } 159 } 160 closedir($folder); 161 } 162 163 /** 164 * Returns the files found under the specified directory and subdirectories.
#0 |
+
–
E:\etc\www\Question\regis\framework\utils\CFileHelper.php(152): copy("E:\etc\www\Question\regis\protected\extensions\EFontAwesome\asse...", "E:\etc\www\Question\regis\assets\d0169172\css\font-awesome.css") 147 $isFile=is_file($path); 148 if(self::validatePath($base,$file,$isFile,$fileTypes,$exclude)) 149 { 150 if($isFile) 151 { 152 copy($path,$dst.DIRECTORY_SEPARATOR.$file); 153 if(isset($options['newFileMode'])) 154 @chmod($dst.DIRECTORY_SEPARATOR.$file,$options['newFileMode']); 155 } 156 elseif($level) 157 self::copyDirectoryRecursive($path,$dst.DIRECTORY_SEPARATOR.$file,$base.'/'.$file,$fileTypes,$exclude,$level-1,$options); |
#1 |
+
–
E:\etc\www\Question\regis\framework\utils\CFileHelper.php(157): CFileHelper::copyDirectoryRecursive("E:\etc\www\Question\regis\protected\extensions\EFontAwesome\asse...", "E:\etc\www\Question\regis\assets\d0169172\css", "/css", array(), ...) 152 copy($path,$dst.DIRECTORY_SEPARATOR.$file); 153 if(isset($options['newFileMode'])) 154 @chmod($dst.DIRECTORY_SEPARATOR.$file,$options['newFileMode']); 155 } 156 elseif($level) 157 self::copyDirectoryRecursive($path,$dst.DIRECTORY_SEPARATOR.$file,$base.'/'.$file,$fileTypes,$exclude,$level-1,$options); 158 } 159 } 160 closedir($folder); 161 } 162 |
#2 |
+
–
E:\etc\www\Question\regis\framework\utils\CFileHelper.php(63): CFileHelper::copyDirectoryRecursive("E:\etc\www\Question\regis\protected\extensions\EFontAwesome\asse...", "E:\etc\www\Question\regis\assets\d0169172", "", array(), ...) 58 $level=-1; 59 extract($options); 60 if(!is_dir($dst)) 61 self::mkdir($dst,$options,true); 62 63 self::copyDirectoryRecursive($src,$dst,'',$fileTypes,$exclude,$level,$options); 64 } 65 66 /** 67 * Removes a directory recursively. 68 * @param string $directory to be deleted recursively. |
#3 |
+
–
E:\etc\www\Question\regis\framework\web\CAssetManager.php(251): CFileHelper::copyDirectory("E:\etc\www\Question\regis\protected\extensions\EFontAwesome\asse...", "E:\etc\www\Question\regis\assets\d0169172", array("exclude" => array(".svn", ".gitignore"), "level" => -1, "newDirMode" => 511, "newFileMode" => 438)) 246 CFileHelper::copyDirectory($src,$dstDir,array( 247 'exclude'=>$this->excludeFiles, 248 'level'=>$level, 249 'newDirMode'=>$this->newDirMode, 250 'newFileMode'=>$this->newFileMode, 251 )); 252 } 253 254 return $this->_published[$path]=$this->getBaseUrl().'/'.$dir; 255 } 256 } |
#4 |
+
–
E:\etc\www\Question\regis\protected\extensions\EFontAwesome\components\EFontAwesome.php(41): CAssetManager->publish("E:\etc\www\Question\regis\protected\extensions\EFontAwesome\asse...", false, -1, true) 36 public function getAssetsUrl() { 37 if (isset($this->_assetsUrl)) 38 return $this->_assetsUrl; 39 else { 40 $assetsPath = Yii::getPathOfAlias('efontawesome.assets'); 41 $assetsUrl = Yii::app()->assetManager->publish($assetsPath, false, -1, YII_DEBUG); 42 return $this->_assetsUrl = $assetsUrl; 43 } 44 } 45 } |
#5 |
+
–
E:\etc\www\Question\regis\protected\extensions\EFontAwesome\components\EFontAwesome.php(27): EFontAwesome->getAssetsUrl() 22 Yii::setPathOfAlias('efontawesome', realpath(dirname(__FILE__) . '/..')); 23 24 // Prevents the extension from registering scripts and publishing assets when ran from the command line. 25 if (Yii::app() instanceof CConsoleApplication) 26 return; 27 Yii::app()->getClientScript()->registerCssFile($this->getAssetsUrl() . "/css/font-awesome.css"); //, $media); 28 29 parent::init(); 30 } 31 32 /** |
#6 |
+
–
E:\etc\www\Question\regis\framework\base\CModule.php(387): EFontAwesome->init() 382 if(!isset($config['enabled']) || $config['enabled']) 383 { 384 Yii::trace("Loading \"$id\" application component",'system.CModule'); 385 unset($config['enabled']); 386 $component=Yii::createComponent($config); 387 $component->init(); 388 return $this->_components[$id]=$component; 389 } 390 } 391 } 392 |
#7 |
+
–
E:\etc\www\Question\regis\framework\base\CModule.php(523): CModule->getComponent("efontawesome") 518 * Loads static application components. 519 */ 520 protected function preloadComponents() 521 { 522 foreach($this->preload as $id) 523 $this->getComponent($id); 524 } 525 526 /** 527 * Preinitializes the module. 528 * This method is called at the beginning of the module constructor. |
#8 |
+
–
E:\etc\www\Question\regis\framework\base\CApplication.php(163): CModule->preloadComponents() 158 $this->initSystemHandlers(); 159 $this->registerCoreComponents(); 160 161 $this->configure($config); 162 $this->attachBehaviors($this->behaviors); 163 $this->preloadComponents(); 164 165 $this->init(); 166 } 167 168 |
#9 |
+
–
E:\etc\www\Question\regis\framework\YiiBase.php(125): CApplication->__construct("E:\etc\www\Question\regis/protected/config/main.php") 120 * to the constructor of the application class. 121 * @return mixed the application instance 122 */ 123 public static function createApplication($class,$config=null) 124 { 125 return new $class($config); 126 } 127 128 /** 129 * Returns the application singleton or null if the singleton has not been created yet. 130 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#10 |
+
–
E:\etc\www\Question\regis\framework\YiiBase.php(98): YiiBase::createApplication("CWebApplication", "E:\etc\www\Question\regis/protected/config/main.php") 093 * If not, the directory will be defaulted to 'protected'. 094 * @return CWebApplication 095 */ 096 public static function createWebApplication($config=null) 097 { 098 return self::createApplication('CWebApplication',$config); 099 } 100 101 /** 102 * Creates a console application instance. 103 * @param mixed $config application configuration. |
#11 |
+
–
E:\etc\www\Question\regis\index.php(13): YiiBase::createWebApplication("E:\etc\www\Question\regis/protected/config/main.php") 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(); |