// Variables name fixed
This commit is contained in:
@@ -64,8 +64,8 @@ abstract class ModuleAdminControllerCore extends AdminController
|
||||
*/
|
||||
public function getTemplatePath()
|
||||
{
|
||||
if (file_exists(_PS_THEME_DIR_.'modules/'.$this->name.'/views/templates/admin/'.$template))
|
||||
return _PS_THEME_DIR_.'modules/'.$this->name.'/views/templates/admin/'.$template;
|
||||
if (file_exists(_PS_THEME_DIR_.'modules/'.$this->module->name.'/views/templates/admin/'.$template))
|
||||
return _PS_THEME_DIR_.'modules/'.$this->module->name.'/views/templates/admin/'.$template;
|
||||
return _PS_MODULE_DIR_.$this->module->name.'/views/templates/admin/';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user