Hello,
How can I pass a root directory to variables? I am working between two servers (dev, and live) and would like an dynamic solution. I tried several flavors of this (below), but keep getting errors (unexpected T_VAR...).
class myClass {
var $currentDir = __DIR__;
var $my_xml_file = $currentDir."data/my.xml";
.
.
.
}