diff options
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/install.php b/install.php index 0a2bf0a46..d954e20ed 100644 --- a/install.php +++ b/install.php @@ -24,7 +24,7 @@ if (get_magic_quotes_gpc() && !defined('MAGIC_QUOTES_STRIPPED')) { @ini_set('magic_quotes_gpc', 0); define('MAGIC_QUOTES_STRIPPED',1); } -@set_magic_quotes_runtime(0); +if (function_exists('set_magic_quotes_runtime')) @set_magic_quotes_runtime(0); @ini_set('magic_quotes_sybase',0); // language strings @@ -54,19 +54,17 @@ $dokuwiki_hash = array( '2011-05-25' => '4241865472edb6fa14a1227721008072', '2011-11-10' => 'b46ff19a7587966ac4df61cbab1b8b31', '2012-01-25' => '72c083c73608fc43c586901fd5dabb74', - 'devel' => 'eb0b3fc90056fbc12bac6f49f7764df3' + '2012-09-10' => 'eb0b3fc90056fbc12bac6f49f7764df3' ); // begin output header('Content-Type: text/html; charset=utf-8'); ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $LC?>" - lang="<?php echo $LC?>" dir="<?php echo $lang['direction']?>"> +<!DOCTYPE html> +<html lang="<?php echo $LC?>" dir="<?php echo $lang['direction']?>"> <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta charset="utf-8" /> <title><?php echo $lang['i_installer']?></title> <style type="text/css"> body { width: 90%; margin: 0 auto; font: 84% Verdana, Helvetica, Arial, sans-serif; } @@ -98,7 +96,7 @@ header('Content-Type: text/html; charset=utf-8'); </head> <body style=""> <h1 style="float:left"> - <img src="lib/exe/fetch.php?media=wiki:dokuwiki-128.png&w=64" + <img src="lib/exe/fetch.php?media=wiki:dokuwiki-128.png&w=64" style="vertical-align: middle;" alt="" /> <?php echo $lang['i_installer']?> </h1> @@ -180,7 +178,7 @@ function print_form($d){ <fieldset style="margin-top: 1em;"> <label for="acl"> - <input type="checkbox" name="d[acl]" id="acl" <?php echo(($d['acl'] ? 'checked="checked"' : ''));?> /> + <input type="checkbox" name="d[acl]" id="acl" <?php echo(($d['acl'] ? ' checked="checked"' : ''));?> /> <?php echo $lang['i_enableacl']?></label> <fieldset id="acldep"> @@ -217,7 +215,7 @@ function print_form($d){ foreach($license as $key => $lic){ echo '<label for="lic_'.$key.'">'; echo '<input type="radio" name="d[license]" value="'.htmlspecialchars($key).'" id="lic_'.$key.'"'. - (($d['license'] == $key)?'checked="checked"':'').'>'; + (($d['license'] == $key)?' checked="checked"':'').'>'; echo htmlspecialchars($lic['name']); if($lic['url']) echo ' <a href="'.$lic['url'].'" target="_blank"><sup>[?]</sup></a>'; echo '</label>'; @@ -491,7 +489,7 @@ function check_functions(){ $ok = false; } - $funcs = explode(' ','addslashes basename call_user_func chmod copy fgets '. + $funcs = explode(' ','addslashes call_user_func chmod copy fgets '. 'file file_exists fseek flush filesize ftell fopen '. 'glob header ignore_user_abort ini_get mail mkdir '. 'ob_start opendir parse_ini_file readfile realpath '. |