From cc0fe1d94966daff6b6f99922e353dc14dffae56 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 4 Apr 2004 13:03:30 +0000 Subject: [PATCH] create cache in accountContainer if needed --- lam/lib/modules.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index aabc6dbe..db7a477a 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -215,6 +215,10 @@ class accountContainer { $this->cache = 'cache'; $this->header2 = 'header'; $this->module['main'] = new main($this->base); + // create cache if needed + if (!isset($_SESSION['cache'])) { + $_SESSION['cache'] = new cache(); + } return 0; }