예제 #1
0
파일: assets.php 프로젝트: boltphp/core
 public function processDirTree($path, $ext)
 {
     $files = b::getRegexFiles($path, "^.+\\.{$ext}\$");
     $tree = [];
     foreach ($files as $file) {
         $tree[$file] = $this->processFileTree($this->getFile($file), $ext);
     }
     return $tree;
 }