(03-20-2014, 07:45 PM)weberp1 Wrote: (03-20-2014, 05:40 PM)serakfalcon Wrote: While digging through different code I noticed that $RootPath and $PathPrefix are being used for basically the same thing in different places. $RootPath seems a bit more robust... is there any reason for the difference?
As I remember $RootPath was supposed to be the absolute path to the document root, and $PathPrefix is the prefix from the document root to the webERP instance.
Thanks
Tim
OK well, basically the two function identically, since $RootPath is an absolute reference to the weberp folder, and $PathPrefix is relative to the same place (and is basically almost always an empty string?)... I would support phasing out $PathPrefix and just using $RootPath...