|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
hamad2 Smarty Rookie
Joined: 31 Jul 2012 Posts: 6
|
Posted: Tue Jul 31, 2012 8:36 am Post subject: smarty on mac 10.7.4 |
|
|
I can't run smarty under mac 10.7.4 I am using mamp.
I am using this
Code: | define('SITE_URL', "http://".$_SERVER['SERVER_NAME']."test"); |
how to use site url as local host.
Regards |
|
Back to top |
|
ChrisFah Smarty Pro
Joined: 02 Nov 2009 Posts: 159 Location: Traun, Austria
|
Posted: Tue Jul 31, 2012 12:20 pm Post subject: |
|
|
Hi,
try using this:
Code: |
define('SITE_URL', "http://".$_SERVER['HTTP_HOST']."/test"); |
Regards, Chris |
|
Back to top |
|
hamad2 Smarty Rookie
Joined: 31 Jul 2012 Posts: 6
|
Posted: Tue Jul 31, 2012 7:24 pm Post subject: |
|
|
ChrisFah:: many thanks but I am still facing the same problem. |
|
Back to top |
|
|
|
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
|