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

Bugfix: Fix crash in meta generator version insertion

This commit is contained in:
Starbeamrainbowlabs 2018-08-24 18:44:21 +01:00
parent 39c8f48019
commit a7014a4bd1
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 4 additions and 3 deletions

View file

@ -407,7 +407,7 @@ if($settings->sessionprefix == "auto")
/////////////////////////////////////////////////////////////////////////////
/** The version of Pepperminty Wiki currently running. */
$version = "v0.17-dev";
$commit = "516b55ac9643e707a1317212ff3ecc9ec49d2032";
$commit = "39c8f48019599cc00e919d5c699e0c01c7278ef4";
/// Environment ///
/** Holds information about the current request environment. */
$env = new stdClass();
@ -750,7 +750,7 @@ function makepathsafe($string)
/**
* Hides an email address from bots by adding random html entities.
* @todo Make this moree clevererer :D
* @todo Make this more clevererer :D
* @package core
* @param string $str The original email address
* @return string The mangled email address.
@ -1446,6 +1446,7 @@ class page_renderer
<meta charset='utf-8' />
<title>{title}</title>
<meta name='viewport' content='width=device-width, initial-scale=1' />
<meta name='generator' content='Pepperminty Wiki v0.17-dev' />
<link rel='shortcut-icon' href='{favicon-url}' />
<link rel='icon' href='{favicon-url}' />
{header-html}

View file

@ -1049,7 +1049,7 @@ class page_renderer
<meta charset='utf-8' />
<title>{title}</title>
<meta name='viewport' content='width=device-width, initial-scale=1' />
<meta name='generator' content='Pepperminty Wiki $version' />
<meta name='generator' content='Pepperminty Wiki {version}' />
<link rel='shortcut-icon' href='{favicon-url}' />
<link rel='icon' href='{favicon-url}' />
{header-html}