aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-05-01 08:21:12 +0200
committerzottel <github@zottel.net>2012-05-01 08:21:12 +0200
commit2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177 (patch)
tree2ca4af49655a3cf4f1a2d2cf4ea7b5936b8d9a17 /index.php
parent43f9ea7cfc77d2dcb5fd6f8d7a90b1511cc67720 (diff)
parentf175af05f92384fab7adb75390a8aa52dc1bd7e1 (diff)
downloadvolse-hubzilla-2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177.tar.gz
volse-hubzilla-2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177.tar.bz2
volse-hubzilla-2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/index.php b/index.php
index 442173eeb..a409f47b4 100644
--- a/index.php
+++ b/index.php
@@ -92,13 +92,10 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) {
load_translation_table($lang);
}
-if(x($_GET,'zrl')) {
+if((x($_GET,'zrl')) && (! $install)) {
$_SESSION['my_url'] = $_GET['zrl'];
$a->query_string = preg_replace('/[\?&]zrl=(.*?)([\?&]|$)/is','',$a->query_string);
- if(! $install) {
- $arr = array('zrl' => $_SESSION['my_url'], 'url' => $a->cmd);
- call_hooks('zrl_init',$arr);
- }
+ zrl_init($a);
}
/**