*/
public function __construct(array $files)
{
- $this->spoolroot = dirname(dirname(__FILE__));
+ $this->spoolroot = dirname(dirname(dirname(__FILE__)));
$this->readConfig($files);
if (isset($_SERVER) && isset($_SERVER['SERVER_NAME'])) {
$this->setLocale();
}
+ /** Initialiase dynamic data in the object.
+ * This is te place to read data from the database if needed.
+ */
+ public function init()
+ {
+ }
+
private function readIniFile($filename)
{
$array = parse_ini_file($filename, true);