When finding matches add regular expression matching
This commit is contained in:
parent
f09efd3a14
commit
032673c922
|
|
@ -101,7 +101,7 @@
|
|||
}
|
||||
|
||||
//find all other matching actions
|
||||
if ($value['extension'] == $detail_action) {
|
||||
if ($value['extension'] == $detail_action or preg_match('/^'.$value['extension'].'$/', $detail_action)) {
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/".$application."/app_languages.php")) {
|
||||
$value['application'] = $application;
|
||||
return $value;
|
||||
|
|
|
|||
Loading…
Reference in New Issue