Browse Source

{settings} -> //{settings} for phpDocumentor

first-run
Starbeamrainbowlabs 3 years ago
parent
commit
891143b80a
4 changed files with 12 additions and 5 deletions
  1. +6
    -2
      build/index.php
  2. +4
    -1
      core.php
  3. +1
    -1
      module_index.json
  4. +1
    -1
      pack.php

+ 6
- 2
build/index.php View File

@ -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
{
/*


+ 4
- 1
core.php View File

@ -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
{
/*


+ 1
- 1
module_index.json View File

@ -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
},
{


+ 1
- 1
pack.php View File

@ -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…
Cancel
Save