|
|
@@ -53,9 +53,9 @@ class WebApp extends App
|
|
|
|
|
|
public static function createTemplate($tpl_path=null, $variables=[], $layout=null, $templates_dirs=null)
|
|
|
{
|
|
|
- //return App::getData('app')->get('template')($tpl_path, $variables);
|
|
|
+ return App::getData('app')->get('template')($tpl_path, $variables);
|
|
|
|
|
|
- return new PhpTemplate($tpl_path, $variables, $layout, $templates_dirs);
|
|
|
+ // return new PhpTemplate($tpl_path, $variables, $layout, $templates_dirs);
|
|
|
}
|
|
|
|
|
|
|