mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 11:40:48 +03:00
fix
This commit is contained in:
parent
80db09c167
commit
3ce2307ec2
|
@ -62,7 +62,7 @@ abstract class ActionPlugin extends Action {
|
|||
* @param string $sTemplate Путь до шаблона относительно каталога шаблонов экшена
|
||||
*/
|
||||
protected function SetTemplateAction($sTemplate) {
|
||||
$this->sActionTemplate==preg_match('/^Plugin([\w]+)_Action([\w]+)$/i',$this->GetActionClass(),$aMatches)
|
||||
$this->sActionTemplate=preg_match('/^Plugin([\w]+)_Action([\w]+)$/i',$this->GetActionClass(),$aMatches)
|
||||
? $this->getTemplatePathAction().'/actions/Action'.ucfirst($aMatches[2]).'/'.$sTemplate.'.tpl'
|
||||
: null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue