Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

I was looking for an easy way to override config wars...

 
Post new topic   Reply to topic    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1130

PostPosted: Mon Apr 10, 2017 2:25 pm    Post subject: I was looking for an easy way to override config wars... Reply with quote

Turned out, it was way easier than I though...
Code:
$_tpl->configLoad("string:base_href='{$_SERVER['REQUEST_SCHEME']}://{$_SERVER['SERVER_NAME']}/'");
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP