Skip to content

Commit 09bee36

Browse files
committed
conf\dokuwiki.php touched
1 parent 35b5f11 commit 09bee36

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ For this purpose, it will :
1313

1414
The following configuration files are touched:
1515

16-
* the main configuration file: [local.php](https://www.dokuwiki.org/config) - [Ref](https://www.dokuwiki.org/devel:caching#purging_the_cache)
16+
17+
* the main configuration file: [dokuwiki.php](https://www.dokuwiki.org/config) - [For Geshi](https://forum.dokuwiki.org/d/20833-how-to-make-change-to-geshi-language-file-have-effect-on-page-display/11)
18+
* the local configuration file: [local.php](https://www.dokuwiki.org/config) - [Ref: Purging the cache](https://www.dokuwiki.org/devel:caching#purging_the_cache)
1719
* all plugin info file [plugin.info.txt](https://www.dokuwiki.org/devel:plugin_info)
1820

1921
> Note that the plugins that are using the cache system, must make the cache dependent of their info file to get the cache stale
@@ -30,6 +32,8 @@ You can stale the cache:
3032

3133
## Release
3234

35+
* 2023-02-20:
36+
* Touch the main configuration file `conf\dokuwiki.php` to delete the cache for [Geshi](https://forum.dokuwiki.org/d/20833-how-to-make-change-to-geshi-language-file-have-effect-on-page-display/11)
3337
* 2021-09-04:
3438
* As [per request 2](https://github.com/ComboStrap/stale/issues/2), Make the cache stale, reload the page and shows the feedback
3539
* 2021-09-01:

helper.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ function touchConfFiles()
1515
{
1616

1717
touch(DOKU_CONF . "local.php");
18-
18+
// geshi dependent
19+
// https://forum.dokuwiki.org/d/20833-how-to-make-change-to-geshi-language-file-have-effect-on-page-display/11
20+
touch(DOKU_CONF . "dokuwiki.php");
1921
$dir = new DirectoryIterator(DOKU_PLUGIN);
2022
foreach ($dir as $file) {
2123
if ($file->isDir() && !$file->isDot()) {
@@ -72,7 +74,7 @@ public function stale()
7274
$this->touchConfFiles();
7375
$message = "The configurations files were touched.";
7476
$deleted = $this->deleteSitemap();
75-
if($deleted) {
77+
if ($deleted) {
7678
$message .= "<br>The sitemap file was deleted.";
7779
} else {
7880
$message .= "<br>No sitemap was present.";

plugin.info.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
base stale
22
author ComboStrap
33
email support@combostrap.com
4-
date 2021-09-04
4+
date 2023-02-20
55
name Stale plugin
6-
desc Make the cache stale by by touching configuration files
6+
desc Make the cache stale by touching configuration files
77
url https://www.dokuwiki.org/plugin:stale

0 commit comments

Comments
 (0)