louis_coetzee Posted June 24, 2009 Share Posted June 24, 2009 Hi, I would like to know what this is: WEB_ROOT SRV_ROOT and what they are used for. Maybe it's a stupid question, did google it. But maybe I am stupid. Whatever, please help. Link to comment https://forums.phpfreaks.com/topic/163484-web_root-srv_root-help-plz/ Share on other sites More sharing options...
patrickmvi Posted June 24, 2009 Share Posted June 24, 2009 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? Link to comment https://forums.phpfreaks.com/topic/163484-web_root-srv_root-help-plz/#findComment-862572 Share on other sites More sharing options...
louis_coetzee Posted June 24, 2009 Author Share Posted June 24, 2009 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 Link to comment https://forums.phpfreaks.com/topic/163484-web_root-srv_root-help-plz/#findComment-862574 Share on other sites More sharing options...
patrickmvi Posted June 24, 2009 Share Posted June 24, 2009 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"); Link to comment https://forums.phpfreaks.com/topic/163484-web_root-srv_root-help-plz/#findComment-862587 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.