From: friendica Date: Sun, 4 Dec 2011 11:01:04 +0000 (-0800) Subject: unix style homedir X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8a489b47624a7d5dc36b2e5b5ac820adbe52841c;p=friendica.git unix style homedir --- diff --git a/boot.php b/boot.php index de4bfe0909..63dea8e6fb 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); /** *