// in AdminTranslationController separator folder / to DIRECTORY_SEPARATOR
This commit is contained in:
@@ -987,7 +987,7 @@ class AdminTranslationsControllerCore extends AdminController
|
||||
|
||||
if (preg_match("#controllers#", $tmp))
|
||||
{
|
||||
$parentClass = explode('\\', $tmp);
|
||||
$parentClass = explode(DIRECTORY_SEPARATOR, $tmp);
|
||||
$key = array_search('controllers', $parentClass);
|
||||
$prefix_key = 'Admin'.ucfirst($parentClass[$key + 1]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user