aboutsummaryrefslogtreecommitdiffstats
path: root/mod/install.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-04 23:05:45 -0700
committerfriendica <info@friendica.com>2012-10-04 23:05:45 -0700
commit7bee460df28bcd956206c3719e091fb500e3045d (patch)
tree4d06c81c9cfd39d2f88cab1c52aa5b6d11ef20ab /mod/install.php
parent4302134fdd2640843aa1349e95285b966d1282ab (diff)
downloadvolse-hubzilla-7bee460df28bcd956206c3719e091fb500e3045d.tar.gz
volse-hubzilla-7bee460df28bcd956206c3719e091fb500e3045d.tar.bz2
volse-hubzilla-7bee460df28bcd956206c3719e091fb500e3045d.zip
provide auto admin registration as before, but allow the current admin to create other admins
Diffstat (limited to 'mod/install.php')
-rwxr-xr-xmod/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/install.php b/mod/install.php
index 722b1f342..a6ca48b61 100755
--- a/mod/install.php
+++ b/mod/install.php
@@ -6,7 +6,7 @@ $install_wizard_pass=1;
function install_init(&$a){
// $baseurl/install/testrwrite to test if rewite in .htaccess is working
- if ($a->argc==2 && $a->argv[1]=="testrewrite") {
+ if (argc() ==2 && argv(1)=="testrewrite") {
echo "ok";
killme();
}