diff options
author | zottel <github@zottel.net> | 2012-05-01 08:21:12 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-05-01 08:21:12 +0200 |
commit | 2e2bb5e8b0d2ab4a732cafd2ada30a76c4883177 (patch) | |
tree | 2ca4af49655a3cf4f1a2d2cf4ea7b5936b8d9a17 /index.php | |
parent | 43f9ea7cfc77d2dcb5fd6f8d7a90b1511cc67720 (diff) | |
parent | f175af05f92384fab7adb75390a8aa52dc1bd7e1 (diff) | |
download | volse-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.php | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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); } /** |