kopia lustrzana https://github.com/friendica/friendica
unix style homedir
rodzic
acd28bb1ef
commit
8a489b4762
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);
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
Ładowanie…
Reference in New Issue