Exemple #1
0
 public static function read_dir_for_dir($dir)
 {
     return futil_scanpath_dir($dir);
 }
Exemple #2
0
 /**
  * Get asset directory list, this is for registering bundle assets.
  *
  * @return string[]
  */
 public function getAssetDirs()
 {
     // XXX: Here we got a absolute path,
     // should return relative path here.
     $assetDir = $this->locate() . DIRECTORY_SEPARATOR . 'Assets';
     if ($list = futil_scanpath_dir($assetDir)) {
         return $list;
     }
     return array();
 }