diff options
author | Tom N Harris <tnharris@whoopdedo.org> | 2012-06-24 19:13:59 -0400 |
---|---|---|
committer | Tom N Harris <tnharris@whoopdedo.org> | 2012-06-24 19:13:59 -0400 |
commit | ed85653424b3ac0935aad110ecc9798d5e3e9b72 (patch) | |
tree | 6c850aa4118fd33ab872ee4b155b36cd87c927bd /install.php | |
parent | 4b530faa88b9afb8467805a9dde8204b9b0bd9fa (diff) | |
download | rpg-ed85653424b3ac0935aad110ecc9798d5e3e9b72.tar.gz rpg-ed85653424b3ac0935aad110ecc9798d5e3e9b72.tar.bz2 |
enable ACL by default on install
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php index 698cd64c4..a1d406209 100644 --- a/install.php +++ b/install.php @@ -213,7 +213,7 @@ function print_form($d){ <p><?php echo $lang['i_license']?></p> <?php array_unshift($license,array('name' => 'None', 'url'=>'')); - if(!isset($d['license'])) $d['license'] = 'cc-by-sa'; + if(empty($d['license'])) $d['license'] = 'cc-by-sa'; foreach($license as $key => $lic){ echo '<label for="lic_'.$key.'">'; echo '<input type="radio" name="d[license]" value="'.htmlspecialchars($key).'" id="lic_'.$key.'"'. @@ -254,7 +254,7 @@ function print_retry() { function check_data(&$d){ static $form_default = array( 'title' => '', - 'acl' => '0', + 'acl' => '1', 'superuser' => '', 'fullname' => '', 'email' => '', |