aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-05-11 08:26:41 +0000
committerrvelices <rv-github@modusoptimus.com>2014-05-11 08:26:41 +0000
commitf1f7e5d4ad0d6bb5cbf170063ec7aec2abb3761d (patch)
tree0e83ddba02373679c530f20bf3f7bc2f86fe2bf5 /include/common.inc.php
parentb4decbe52f0bb8213c0320e24ff292cd02e5657f (diff)
added a persistent cache mechanism; used so far to cache image ids in flat view mode
git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/common.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index 03ca26811..3739cfa5f 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -103,6 +103,7 @@ if(isset($conf['show_php_errors']) && !empty($conf['show_php_errors']))
include(PHPWG_ROOT_PATH . 'include/constants.php');
include(PHPWG_ROOT_PATH . 'include/functions.inc.php');
+$persistent_cache = new PersistentFileCache();
// Database connection
try