Use PlGlobals::init() for bootstrap, update core.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 24 Jul 2008 20:18:12 +0000 (22:18 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 24 Jul 2008 20:18:31 +0000 (22:18 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/platalglobals.php.in
core

index 409b68c..43140c6 100644 (file)
@@ -38,6 +38,10 @@ class PlatalGlobals extends PlGlobals
     public function __construct()
     {
         parent::__construct(array('platal.ini', 'platal.conf'));
+    }
+
+    public function init()
+    {
         $this->bootstrap(array('NbIns'), array($this, 'updateNbIns'));
         $this->bootstrap(array('NbValid'), array($this, 'updateNbValid'));
     }
diff --git a/core b/core
index 38b7dbd..d95d46a 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 38b7dbd95e5d725eb2b7b34a6a8fe5e0c84073f0
+Subproject commit d95d46a7c551a5439ff8791e61311a42a64aadd0