aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xboot.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index a5aa3f7a1..fdd900de8 100755
--- a/boot.php
+++ b/boot.php
@@ -913,14 +913,15 @@ class App {
spl_autoload_register('ZotlabsAutoloader::loader');
self::$meta= new Zotlabs\Web\HttpMeta();
+
+ // create an instance of the smarty template engine so we can register it.
+
$smarty = new Zotlabs\Render\SmartyTemplate();
$dc = get_declared_classes();
-// logger('classes: ' . print_r($dc,true));
foreach ($dc as $k) {
-
- if (in_array('Zotlabs\\Render\\TemplateEngine', class_implements($k))){
+ if(in_array('Zotlabs\\Render\\TemplateEngine', class_implements($k))) {
self::register_template_engine($k);
}
}