X-Git-Url: https://projects.mako.cc/source/scuttle/blobdiff_plain/c7f63c8b9b12efd7b3c10b9f80cda06eaf32068f..HEAD:/services/templateservice.php diff --git a/services/templateservice.php b/services/templateservice.php index 1a1719c..6675462 100644 --- a/services/templateservice.php +++ b/services/templateservice.php @@ -10,7 +10,7 @@ class TemplateService { return $instance; } - function TemplateService() { + function __construct() { $this->basedir = $GLOBALS['TEMPLATES_DIR']; } @@ -29,7 +29,7 @@ class Template { var $file = ''; var $templateservice; - function Template($file, $vars = NULL, &$templateservice) { + function __construct($file, $vars = NULL, &$templateservice) { $this->vars = $vars; $this->file = $file; $this->templateservice = $templateservice;