create cache in accountContainer if needed
This commit is contained in:
parent
a32c4a106b
commit
cc0fe1d949
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue