Jump to content


This topic is now archived and is closed to further replies.


help with config settings to get me started

Recommended Posts

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?

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.