mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 01:35:02 +00:00
{settings} -> //{settings} for phpDocumentor
This commit is contained in:
parent
6fd99e5b82
commit
891143b80a
4 changed files with 12 additions and 5 deletions
|
@ -595,9 +595,10 @@ function glob_recursive($pattern, $flags = 0)
|
|||
|
||||
/**
|
||||
* Gets the name of the parent page to the specified page.
|
||||
* @since 0.15
|
||||
* @param string $pagename The child page to get the parent
|
||||
* page name for.
|
||||
* @return string|bool
|
||||
* page name for.
|
||||
* @return string|bool
|
||||
*/
|
||||
function get_page_parent($pagename) {
|
||||
if(mb_strpos($pagename, "/") === false)
|
||||
|
@ -1186,6 +1187,9 @@ if(!file_exists($paths->idindex))
|
|||
$idindex_decode_start = microtime(true);
|
||||
$idindex = json_decode(file_get_contents($paths->idindex));
|
||||
$env->perfdata->idindex_decode_time = round((microtime(true) - $idindex_decode_start)*1000, 3);
|
||||
/**
|
||||
* Provides an interface to interact with page ids.
|
||||
*/
|
||||
class ids
|
||||
{
|
||||
/*
|
||||
|
|
5
core.php
5
core.php
|
@ -2,7 +2,7 @@
|
|||
$start_time = microtime(true);
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
{settings}
|
||||
//{settings}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
////// Do not edit below this line unless you know what you are doing! //////
|
||||
|
@ -820,6 +820,9 @@ if(!file_exists($paths->idindex))
|
|||
$idindex_decode_start = microtime(true);
|
||||
$idindex = json_decode(file_get_contents($paths->idindex));
|
||||
$env->perfdata->idindex_decode_time = round((microtime(true) - $idindex_decode_start)*1000, 3);
|
||||
/**
|
||||
* Provides an interface to interact with page ids.
|
||||
*/
|
||||
class ids
|
||||
{
|
||||
/*
|
||||
|
|
|
@ -248,7 +248,7 @@
|
|||
"author": "Starbeamrainbowlabs",
|
||||
"description": "Allows you to view pages. You really should include this one.",
|
||||
"id": "page-view",
|
||||
"lastupdate": 1505491607,
|
||||
"lastupdate": 1505491849,
|
||||
"optional": false
|
||||
},
|
||||
{
|
||||
|
|
2
pack.php
2
pack.php
|
@ -38,7 +38,7 @@ $core = file_get_contents("core.php");
|
|||
$settings = file_get_contents("settings.fragment.php");
|
||||
$settings = str_replace([ "<?php", "?>" ], "", $settings);
|
||||
$core = str_replace([
|
||||
"{settings}",
|
||||
"//{settings}",
|
||||
"{version}",
|
||||
"{guiconfig}",
|
||||
"{default-css}"
|
||||
|
|
Loading…
Reference in a new issue