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