unix style homedir

This commit is contained in:
friendica 2011-12-04 03:01:04 -08:00
parent acd28bb1ef
commit 8a489b4762

View file

@ -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);
/**
*