[eluser]Unknown[/eluser]
Hi guys,
I'm setting up some constants in constants.php, it looks like this:
Code:
define ('CSS_FOLDER','http://www.planet-obuca.com/elviton/css/');
define ('IMG_FOLDER','http://www.planet-obuca.com/elviton/img/');
However, it would be nice if I could use site_url instead of typing the url, something like this:
Code:
define ('CSS_FOLDER', site_url('/css/'));
define ('IMG_FOLDER', site_url('img/');
Any ideas how to fix this?
Thanks, Gregor