aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-06 15:24:01 -0800
committerfriendica <info@friendica.com>2011-12-06 15:24:01 -0800
commit0c24784f5e92e0c8269f255e962312574871f2f0 (patch)
tree2e47728fb7a87a4caeb1ee325db40d6cfb360116 /boot.php
parentf6f151433c7ecdbfc1bf443880eb63841c61eb7e (diff)
downloadvolse-hubzilla-0c24784f5e92e0c8269f255e962312574871f2f0.tar.gz
volse-hubzilla-0c24784f5e92e0c8269f255e962312574871f2f0.tar.bz2
volse-hubzilla-0c24784f5e92e0c8269f255e962312574871f2f0.zip
include diaspora mentions in personal (requires adding a Diaspora profile url because they don't use ours)
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index a5904ef01..1f465d110 100644
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
-define ( 'FRIENDICA_VERSION', '2.3.1186' );
+define ( 'FRIENDICA_VERSION', '2.3.1187' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1110 );
@@ -311,6 +311,11 @@ class App {
if(substr($this->cmd,0,1) === '~')
$this->cmd = 'profile/' . substr($this->cmd,1);
+ // Diaspora style profile url
+
+ if(substr($this->cmd,0,2) === 'u/')
+ $this->cmd = 'profile/' . substr($this->cmd,2);
+
/**
*
* Break the URL path into C style argc/argv style arguments for our