mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Bugfix: Fix crash in meta generator version insertion
This commit is contained in:
parent
39c8f48019
commit
a7014a4bd1
2 changed files with 4 additions and 3 deletions
|
@ -407,7 +407,7 @@ if($settings->sessionprefix == "auto")
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
/** The version of Pepperminty Wiki currently running. */
|
/** The version of Pepperminty Wiki currently running. */
|
||||||
$version = "v0.17-dev";
|
$version = "v0.17-dev";
|
||||||
$commit = "516b55ac9643e707a1317212ff3ecc9ec49d2032";
|
$commit = "39c8f48019599cc00e919d5c699e0c01c7278ef4";
|
||||||
/// Environment ///
|
/// Environment ///
|
||||||
/** Holds information about the current request environment. */
|
/** Holds information about the current request environment. */
|
||||||
$env = new stdClass();
|
$env = new stdClass();
|
||||||
|
@ -750,7 +750,7 @@ function makepathsafe($string)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Hides an email address from bots by adding random html entities.
|
* 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
|
* @package core
|
||||||
* @param string $str The original email address
|
* @param string $str The original email address
|
||||||
* @return string The mangled email address.
|
* @return string The mangled email address.
|
||||||
|
@ -1446,6 +1446,7 @@ class page_renderer
|
||||||
<meta charset='utf-8' />
|
<meta charset='utf-8' />
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<meta name='viewport' content='width=device-width, initial-scale=1' />
|
<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='shortcut-icon' href='{favicon-url}' />
|
||||||
<link rel='icon' href='{favicon-url}' />
|
<link rel='icon' href='{favicon-url}' />
|
||||||
{header-html}
|
{header-html}
|
||||||
|
|
2
core.php
2
core.php
|
@ -1049,7 +1049,7 @@ class page_renderer
|
||||||
<meta charset='utf-8' />
|
<meta charset='utf-8' />
|
||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
<meta name='viewport' content='width=device-width, initial-scale=1' />
|
<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='shortcut-icon' href='{favicon-url}' />
|
||||||
<link rel='icon' href='{favicon-url}' />
|
<link rel='icon' href='{favicon-url}' />
|
||||||
{header-html}
|
{header-html}
|
||||||
|
|
Loading…
Reference in a new issue