Skip to content

Commit

Permalink
enable ACL by default on install
Browse files Browse the repository at this point in the history
  • Loading branch information
whoopdedo committed Jun 24, 2012
1 parent 4b530fa commit ed85653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.php
Expand Up @@ -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.'"'.
Expand Down Expand Up @@ -254,7 +254,7 @@ function print_retry() {
function check_data(&$d){
static $form_default = array(
'title' => '',
'acl' => '0',
'acl' => '1',
'superuser' => '',
'fullname' => '',
'email' => '',
Expand Down

0 comments on commit ed85653

Please sign in to comment.