aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-30 23:07:52 -0700
committerfriendica <info@friendica.com>2012-04-30 23:07:52 -0700
commitd48cd0f9a3210c14bb98a502188358982261d9df (patch)
treed5b13e587c7b8f2d140b559f3a67fd299afdedd3 /index.php
parent25afec0f81961665717e159aba216d1e9d9f9d86 (diff)
downloadvolse-hubzilla-d48cd0f9a3210c14bb98a502188358982261d9df.tar.gz
volse-hubzilla-d48cd0f9a3210c14bb98a502188358982261d9df.tar.bz2
volse-hubzilla-d48cd0f9a3210c14bb98a502188358982261d9df.zip
hidden plugins (add .hidden file to dir)
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);
}
/**