aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-04 03:01:04 -0800
committerfriendica <info@friendica.com>2011-12-04 03:01:04 -0800
commit8a489b47624a7d5dc36b2e5b5ac820adbe52841c (patch)
tree5d874509e6e3874da1f085b85362cbae249619a5
parentacd28bb1ef2b1bc37ffde0bb4dbb5e997d6259a2 (diff)
downloadvolse-hubzilla-8a489b47624a7d5dc36b2e5b5ac820adbe52841c.tar.gz
volse-hubzilla-8a489b47624a7d5dc36b2e5b5ac820adbe52841c.tar.bz2
volse-hubzilla-8a489b47624a7d5dc36b2e5b5ac820adbe52841c.zip
unix style homedir
-rw-r--r--boot.php3
1 files changed, 3 insertions, 0 deletions
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);
/**
*