From 69f0f1ec549b9b1c8a12e9cda0b1522fc5bccccd Mon Sep 17 00:00:00 2001 From: oldperl Date: Sat, 10 Jun 2017 09:37:15 +0000 Subject: [PATCH] cleanup and fixes for release of 2.0.1 without demo client --- branches/NoDemoClient/conlite/classes/class.navigation.php | 2 +- branches/NoDemoClient/conlite/classes/class.xml.php | 2 +- branches/NoDemoClient/conlite/header.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/branches/NoDemoClient/conlite/classes/class.navigation.php b/branches/NoDemoClient/conlite/classes/class.navigation.php index eedb3b6..8a4c977 100644 --- a/branches/NoDemoClient/conlite/classes/class.navigation.php +++ b/branches/NoDemoClient/conlite/classes/class.navigation.php @@ -66,7 +66,7 @@ class Contenido_Navigation { /** * Constructor. Loads the XML language file using XML_Doc. */ - function Contenido_Navigation() { + function __construct() { global $cfg, $belang; $this->xml = new XML_Doc(); diff --git a/branches/NoDemoClient/conlite/classes/class.xml.php b/branches/NoDemoClient/conlite/classes/class.xml.php index af67635..b6b1471 100644 --- a/branches/NoDemoClient/conlite/classes/class.xml.php +++ b/branches/NoDemoClient/conlite/classes/class.xml.php @@ -83,7 +83,7 @@ class XML_doc { /** * Class Construcor */ - function XML_doc() { + function __construct() { global $encoding, $lang; $this->sys_encoding = $encoding[$lang]; diff --git a/branches/NoDemoClient/conlite/header.php b/branches/NoDemoClient/conlite/header.php index c2724c0..1443733 100644 --- a/branches/NoDemoClient/conlite/header.php +++ b/branches/NoDemoClient/conlite/header.php @@ -117,7 +117,7 @@ $perm->load_permissions(); $xml = new XML_doc; $tpl = new Template; -$nav = new Contenido_Navigation; +$nav = new Contenido_Navigation(); rereadClients();