Template Engine and props to Renderer
move methods and props from App to Renderer
This commit is contained in:
parent
3f74ba88c2
commit
70f01d6c00
9 changed files with 108 additions and 103 deletions
|
@ -3,10 +3,11 @@
|
|||
use Friendica\App;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\Renderer;
|
||||
|
||||
function duepuntozero_init(App $a) {
|
||||
|
||||
$a->setActiveTemplateEngine('smarty3');
|
||||
Renderer::setActiveTemplateEngine('smarty3');
|
||||
|
||||
$colorset = PConfig::get( local_user(), 'duepuntozero','colorset');
|
||||
if (!$colorset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue