Overview
Comment: | Version 0.9.5 stable, et identifiant de cache différent pour chaque association |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable | 0.9.5 |
Files: | files | file ages | folders |
SHA1: |
abca58dc4e3b70883b199cfae6ed52ea |
User & Date: | bohwaz on 2019-12-03 22:57:13 |
Other Links: | manifest | tags |
Context
2019-12-04
| ||
17:01 | Dépendances check-in: ddb1679140 user: bohwaz tags: trunk | |
2019-12-03
| ||
22:57 | Version 0.9.5 stable, et identifiant de cache différent pour chaque association check-in: abca58dc4e user: bohwaz tags: trunk, stable, 0.9.5 | |
17:48 | Amélioration de la gestion des configurations en sous-répertoire ou en alias (normalement) check-in: ca9198db3f user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Static_Cache.php from [1abb2553b4] to [73b33ffa77].
︙ | ︙ | |||
17 18 19 20 21 22 23 | } return CACHE_ROOT . '/static'; } protected static function _getCachePath($id) { | | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | } return CACHE_ROOT . '/static'; } protected static function _getCachePath($id) { $id = 'cache_' . sha1(DB_FILE . $id); return self::_getCacheDir() . '/' . $id; } static public function store($id, $content) { $path = self::_getCachePath($id); return (bool) file_put_contents($path, $content); |
︙ | ︙ |