aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-05-20 19:11:14 -0700
committerredmatrix <git@macgirvin.com>2016-05-20 19:11:14 -0700
commitf4da365abdc1ce1da2dde1bb9798f58fc6dc1a9f (patch)
tree27994af3aec3533ae3fd801243a82f82efa0ac02 /boot.php
parentb2f0d2d085c355010f1475269c4beb4fba7b07dc (diff)
downloadvolse-hubzilla-f4da365abdc1ce1da2dde1bb9798f58fc6dc1a9f.tar.gz
volse-hubzilla-f4da365abdc1ce1da2dde1bb9798f58fc6dc1a9f.tar.bz2
volse-hubzilla-f4da365abdc1ce1da2dde1bb9798f58fc6dc1a9f.zip
move template stuff to zotlabs/render
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index 10244b0d0..a5aa3f7a1 100755
--- a/boot.php
+++ b/boot.php
@@ -908,16 +908,24 @@ class App {
/*
* register template engines
*/
+
+
+ spl_autoload_register('ZotlabsAutoloader::loader');
+
+ self::$meta= new Zotlabs\Web\HttpMeta();
+ $smarty = new Zotlabs\Render\SmartyTemplate();
+
$dc = get_declared_classes();
+// logger('classes: ' . print_r($dc,true));
+
foreach ($dc as $k) {
- if (in_array("ITemplateEngine", class_implements($k))){
+
+ if (in_array('Zotlabs\\Render\\TemplateEngine', class_implements($k))){
self::register_template_engine($k);
}
}
- spl_autoload_register('ZotlabsAutoloader::loader');
- self::$meta= new Zotlabs\Web\HttpMeta();
}