Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
|
497c6b6b0b |
|
@ -54,7 +54,7 @@ class mtgMetaParsedModule implements mtgScope
|
|||
}
|
||||
}
|
||||
|
||||
function mtg_parse_meta(array $meta_srcs, $valid_tokens = null, $inc_path = null, $version = null)
|
||||
function mtg_parse_meta(array $meta_srcs, $valid_tokens = null, $inc_path = null, $version = null, string $extension = '.meta')
|
||||
{
|
||||
if($inc_path === null)
|
||||
{
|
||||
|
@ -91,7 +91,7 @@ function mtg_parse_meta(array $meta_srcs, $valid_tokens = null, $inc_path = null
|
|||
$meta = new mtgMetaInfo();
|
||||
|
||||
foreach($meta_srcs as $src)
|
||||
mtg_load_meta($meta, $meta_parser, $src);
|
||||
mtg_load_meta($meta, $meta_parser, $src, $extension);
|
||||
|
||||
$meta->validate();
|
||||
|
||||
|
|
Loading…
Reference in New Issue