Merge https://github.com/friendica/friendica into pull
This commit is contained in:
commit
f88f0bf3f2
6 changed files with 31 additions and 16 deletions
11
boot.php
11
boot.php
|
|
@ -472,6 +472,7 @@ if(! class_exists('App')) {
|
|||
$this->argc = count($this->argv);
|
||||
if((array_key_exists('0',$this->argv)) && strlen($this->argv[0])) {
|
||||
$this->module = str_replace(".", "_", $this->argv[0]);
|
||||
$this->module = str_replace("-", "_", $this->module);
|
||||
}
|
||||
else {
|
||||
$this->argc = 1;
|
||||
|
|
@ -479,16 +480,6 @@ if(! class_exists('App')) {
|
|||
$this->module = 'home';
|
||||
}
|
||||
|
||||
/**
|
||||
* Special handling for the webfinger/lrdd host XRD file
|
||||
*/
|
||||
|
||||
if($this->cmd === '.well-known/host-meta') {
|
||||
$this->argc = 1;
|
||||
$this->argv = array('hostxrd');
|
||||
$this->module = 'hostxrd';
|
||||
}
|
||||
|
||||
/**
|
||||
* See if there is any page number information, and initialise
|
||||
* pagination
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue