Wwwroot path problem

Hello friends

I have download a file from server.

Where path file have following content

define(‘HTTP_URL’, ‘example.com’); // eg, http://example.com - should not be empty for productive servers
define(‘HTTPS_URL’, ‘example.com’); // eg, http://example.com - should not be empty for productive servers
define(‘HTTP_SERVER’, ‘http://’ . HTTP_URL); // eg, http://example.com - should not be empty for productive servers
define(‘HTTPS_SERVER’, ‘http://’ . HTTPS_URL);
define(‘HTTP_CATALOG_SERVER’, HTTP_SERVER);
define(‘HTTPS_CATALOG_SERVER’, HTTPS_SERVER);

define(‘WWWROOT’, ‘/~wes/dats/store/’); // this is the web path of the eats installation.
define(‘DOCROOT’, realpath(dirname(FILE).‘/…/’).‘/’); // the document path of the eats installation
define(‘DIR_FS_DOCUMENT_ROOT’, DOCROOT . ‘menu/’); // where the pages are located on the server

now when i configure this file my local xampp i have change

define(‘WWWROOT’, ‘/~wes/eats/store/’);

with

define(‘WWWROOT’, ‘/test’);

where test is my local folder in htdocs

but this not configure my local project correctly n there so many path problems enable.

Can anybody tell whee i m wrong?

plz plz help me

Try the following once:


define('WWWROOT', $_SERVER["DOCUMENT_ROOT"] . '/test');