1
1
Fork 0

resolve file inclusion conflicts w/ multiple plugins, improve the typo checker

This commit is contained in:
Friendika 2011-02-21 20:19:33 -08:00
commit 5f2f644064
17 changed files with 59 additions and 1844 deletions

View file

@ -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();
}}