mirror of
https://github.com/friendica/friendica
synced 2024-12-22 22:40:16 +00:00
unix style homedir
This commit is contained in:
parent
acd28bb1ef
commit
8a489b4762
1 changed files with 3 additions and 0 deletions
3
boot.php
3
boot.php
|
@ -305,7 +305,10 @@ class App {
|
|||
if(x($_GET,'q'))
|
||||
$this->cmd = trim($_GET['q'],'/\\');
|
||||
|
||||
// unix style "homedir"
|
||||
|
||||
if(substr($this->cmd,0,1) === '~')
|
||||
$this->cmd = 'profile/' . substr($this->cmd,1);
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue