code comments
This commit is contained in:
parent
f4da365abd
commit
ac095c89f1
5
boot.php
5
boot.php
@ -913,13 +913,14 @@ 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))) {
|
||||
self::register_template_engine($k);
|
||||
}
|
||||
|
Reference in New Issue
Block a user