Jump to content

WEB_ROOT && SRV_ROOT HELP Plz


louis_coetzee

Recommended Posts

Under what context?  I don't believe these are built-in PHP definitions, are they defined in some sort of open source software you're working with?

Yep it's php, i'll paste the url to the code i am looking at:

http://www.phpwebcommerce.com/shopping-cart-admin.php

What I'm trying to say is that most likely WEB_ROOT and SRV_ROOT are USER DEFINED definitions in some sort of configuration file for the application that you're working with.  You can try doing some sort of grep search (if it's *nix) through the files in the folder and search for all occurences of WEB_ROOT and/or SRV_ROOT, you should find at least one location that says something like

 

define("WEB_ROOT", "http://www.blah.com");

Archived

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

×
×
  • Create New...

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.