Exemplo n.º 1
0
 public static function type_file_path($type, $file) {
   if (MPU::core_type_exists($type)) {
     $base = MPU::core_type_dir($type);
     return $base.$file;
   } else {
     if (MPU::extension_type_exists($type)) {
       $base = MPU::extension_type_dir($type);
       return $base.$file;
     }
   }
 }