aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-20 19:14:49 -0700
committerredmatrix <git@macgirvin.com>2016-05-20 19:14:49 -0700
commitac095c89f1ef8cf2207c3db94b10c6e4a3d8f5a7 (patch)
treeae0b3bed3532c18084378e38a0e36d841935ec04 /boot.php
parentf4da365abdc1ce1da2dde1bb9798f58fc6dc1a9f (diff)
downloadvolse-hubzilla-ac095c89f1ef8cf2207c3db94b10c6e4a3d8f5a7.tar.gz
volse-hubzilla-ac095c89f1ef8cf2207c3db94b10c6e4a3d8f5a7.tar.bz2
volse-hubzilla-ac095c89f1ef8cf2207c3db94b10c6e4a3d8f5a7.zip
code comments
Diffstat (limited to 'boot.php')
-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);
}
}