1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 16:33:00 +00:00

Bugfix new cache id system

This commit is contained in:
Starbeamrainbowlabs 2019-02-10 23:08:16 +00:00
parent a5563bb458
commit 0f79a8ec13
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
3 changed files with 6 additions and 6 deletions

View file

@ -413,7 +413,7 @@ if($settings->sessionprefix == "auto")
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
/** The version of Pepperminty Wiki currently running. */ /** The version of Pepperminty Wiki currently running. */
$version = "v0.18-dev"; $version = "v0.18-dev";
$commit = "1938bfd5b985a4a21872010d963553d10cab25e1"; $commit = "a5563bb4587692a2d875a523d2782304423f3989";
/// Environment /// /// Environment ///
/** Holds information about the current request environment. */ /** Holds information about the current request environment. */
$env = new stdClass(); $env = new stdClass();
@ -9030,7 +9030,7 @@ register_module([
register_module([ register_module([
"name" => "Parsedown", "name" => "Parsedown",
"version" => "0.9.13", "version" => "0.10",
"author" => "Emanuil Rusev & Starbeamrainbowlabs", "author" => "Emanuil Rusev & Starbeamrainbowlabs",
"description" => "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https://github.com/erusev/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.", "description" => "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https://github.com/erusev/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.",
"id" => "parser-parsedown", "id" => "parser-parsedown",
@ -9054,9 +9054,9 @@ register_module([
'/\{\{\s*([^|]+)\s*(?:\|[^}]*)?\}\}/', '/\{\{\s*([^|]+)\s*(?:\|[^}]*)?\}\}/',
$source, $includes $source, $includes
); );
foreach($includes[1] as $include_pagename) { foreach($includes[1] as $include_pagename) {
if(empty($pageindex->$include_pagename)) if(empty($pageindex->$include_pagename))
continue;
$id_text .= "|$include_pagename:" . parsedown_pagename_resolve( $id_text .= "|$include_pagename:" . parsedown_pagename_resolve(
$pageindex->$include_pagename->lastmodified $pageindex->$include_pagename->lastmodified
); );

View file

@ -280,11 +280,11 @@
}, },
{ {
"name": "Parsedown", "name": "Parsedown",
"version": "0.9.13", "version": "0.10",
"author": "Emanuil Rusev & Starbeamrainbowlabs", "author": "Emanuil Rusev & Starbeamrainbowlabs",
"description": "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.", "description": "An upgraded (now default!) parser based on Emanuil Rusev's Parsedown Extra PHP library (https:\/\/github.com\/erusev\/parsedown-extra), which is licensed MIT. Please be careful, as this module adds some weight to your installation, and also *requires* write access to the disk on first load.",
"id": "parser-parsedown", "id": "parser-parsedown",
"lastupdate": 1549839523, "lastupdate": 1549840071,
"optional": false "optional": false
} }
] ]

View file

@ -25,9 +25,9 @@ register_module([
'/\{\{\s*([^|]+)\s*(?:\|[^}]*)?\}\}/', '/\{\{\s*([^|]+)\s*(?:\|[^}]*)?\}\}/',
$source, $includes $source, $includes
); );
foreach($includes[1] as $include_pagename) { foreach($includes[1] as $include_pagename) {
if(empty($pageindex->$include_pagename)) if(empty($pageindex->$include_pagename))
continue;
$id_text .= "|$include_pagename:" . parsedown_pagename_resolve( $id_text .= "|$include_pagename:" . parsedown_pagename_resolve(
$pageindex->$include_pagename->lastmodified $pageindex->$include_pagename->lastmodified
); );