Exemple #1
0
Fichier : T.php Projet : demental/m
 public function files_to_load($lang)
 {
     foreach (T::paths() as $path) {
         foreach (FileUtils::getAllFiles($path) as $file) {
             if (substr($file, -6, 3) == $lang . '.') {
                 $files_to_load[] = $file;
             }
         }
     }
     return $files_to_load;
 }