resolve file inclusion conflicts w/ multiple plugins, improve the typo checker
This commit is contained in:
parent
d124c67322
commit
5f2f644064
17 changed files with 59 additions and 1844 deletions
7
boot.php
7
boot.php
|
@ -267,9 +267,11 @@ class App {
|
|||
* Just spit out the contents and exit.
|
||||
*/
|
||||
|
||||
if($this->cmd === '.well-known/host-meta')
|
||||
if($this->cmd === '.well-known/host-meta') {
|
||||
require_once('include/hostxrd.php');
|
||||
|
||||
hostxrd($this->hostname);
|
||||
// NOTREACHED
|
||||
}
|
||||
|
||||
/**
|
||||
* See if there is any page number information, and initialise
|
||||
|
@ -410,6 +412,7 @@ function x($s,$k = NULL) {
|
|||
if(! function_exists('system_unavailable')) {
|
||||
function system_unavailable() {
|
||||
include('system_unavailable.php');
|
||||
system_down();
|
||||
killme();
|
||||
}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue