provide auto admin registration as before, but allow the current admin to create other admins

This commit is contained in:
friendica
2012-10-04 23:05:45 -07:00
parent 4302134fdd
commit 7bee460df2
9 changed files with 46 additions and 15 deletions

View File

@@ -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();
}