/** * Constructor */ public function __construct() { parent::__construct(); $configArray = parse_ini_file('conf/PICA.ini', true); $this->catalogHost = $configArray['Catalog']['Host']; $this->renewalsScript = $configArray['Catalog']['renewalsScript']; }
/** * Constructor * * @access public */ public function __construct() { parent::__construct(); $configArray = parse_ini_file(dirname(__FILE__) . '/../conf/PICA.ini', true); $this->catalogHost = $configArray['Catalog']['Host']; $this->renewalsScript = $configArray['Catalog']['renewalsScript']; $this->dbsid = isset($configArray['Catalog']['DB']) ? $configArray['Catalog']['DB'] : 1; }