//
// RELATIONS :
// SEE ALSO :
-// LAST MODIFIED : Jul 29, 2002
+// LAST MODIFIED : Nov 19, 2007
///////////////////////////////////////////////////////////////////////////
*/
function read($app_name)
{
$this->system = false;
+ $this->user = false;
$filename = "/etc/" . $app_name . ".conf";
if (!is_readable($filename))
{
if (is_readable($filename))
{
- $this->system = xmldocfile($filename);
+ $this->system = domxml_open_file($filename);
if ($this->system)
{
}
}
- $this->user = false;
if (isset($_ENV['HOME']) && $_ENV['HOME'] != '/')
{
// Read configurations from the user's homedir.
if (is_readable($filename))
{
- $this->user = xmldocfile($filename);
+ $this->user = domxml_open_file($filename);
if ($this->user)
{