From f1f7e5d4ad0d6bb5cbf170063ec7aec2abb3761d Mon Sep 17 00:00:00 2001 From: rvelices Date: Sun, 11 May 2014 08:26:41 +0000 Subject: 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 --- include/common.inc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/common.inc.php') 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 -- cgit v1.2.3