Browse code

class.TemplatePower fix for deprecated constructor.

Rainer Volkrodt authored on 2020/10/07 06:42:25
Showing 1 changed files
... ...
@@ -404,7 +404,7 @@ class TemplatePower extends TemplatePowerParser
404 404
 	 *
405 405
 	 * @access public
406 406
      */
407
-    public function TemplatePower($tpl_file='', $type=T_BYFILE)
407
+    public function __construct($tpl_file='', $type=T_BYFILE)
408 408
     {
409 409
         parent::__contruct($tpl_file, $type);
410 410
 
... ...
@@ -757,4 +757,4 @@ class TemplatePower extends TemplatePowerParser
757 757
 
758 758
         return $content;
759 759
     }
760
-}
761 760
\ No newline at end of file
761
+}