diff options
author | redmatrix <git@macgirvin.com> | 2016-05-20 19:14:49 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-20 19:14:49 -0700 |
commit | ac095c89f1ef8cf2207c3db94b10c6e4a3d8f5a7 (patch) | |
tree | ae0b3bed3532c18084378e38a0e36d841935ec04 | |
parent | f4da365abdc1ce1da2dde1bb9798f58fc6dc1a9f (diff) | |
download | volse-hubzilla-ac095c89f1ef8cf2207c3db94b10c6e4a3d8f5a7.tar.gz volse-hubzilla-ac095c89f1ef8cf2207c3db94b10c6e4a3d8f5a7.tar.bz2 volse-hubzilla-ac095c89f1ef8cf2207c3db94b10c6e4a3d8f5a7.zip |
code comments
-rwxr-xr-x | boot.php | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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); } } |