stephdowney Posted April 22, 2006 Share Posted April 22, 2006 was wondering if anyone could help me with this .....i'm working on a computer not using local host but iss and therefore i need to change these config settings but not sure what to....?// setting up the web root and server root for// this shopping cart application$thisFile = str_replace('\\', '/', __FILE__);$docRoot = $_SERVER ("csweb");$webRoot = str_replace(array($docRoot, 'library/config.php'), '', $thisFile);$srvRoot = str_replace('library/config.php', '', $thisFile);define('WEB_ROOT', $webRoot);define('SRV_ROOT', $srvRoot);any ideas?thanks steph Link to comment https://forums.phpfreaks.com/topic/8119-help-with-config-settings-to-get-me-started/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.