--- a/lib/config.inc +++ b/lib/config.inc @@ -1386,7 +1386,7 @@ * Loads preferences from config file */ function __construct() { - $this->conffile = substr(__FILE__, 0, strlen(__FILE__) - 15) . "/config/config.cfg"; + $this->conffile ="/etc/lam/config.cfg"; // set default values $this->sessionTimeout = 30; $this->logLevel = LOG_NOTICE;