diff --git a/boot.php b/boot.php index de4bfe090..63dea8e6f 100644 --- a/boot.php +++ b/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); /** *