diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-10-15 23:47:30 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-10-15 23:47:30 +0000 |
commit | 58ebfa1407ab06bac3ae731cbf751cb94ed3a041 (patch) | |
tree | 516d94a44a026930dfca306093a76244b844a58e | |
parent | e7ca1a5286ef3510fe054a9fbe827b66caaa0a12 (diff) | |
download | forums-58ebfa1407ab06bac3ae731cbf751cb94ed3a041.tar forums-58ebfa1407ab06bac3ae731cbf751cb94ed3a041.tar.gz forums-58ebfa1407ab06bac3ae731cbf751cb94ed3a041.tar.bz2 forums-58ebfa1407ab06bac3ae731cbf751cb94ed3a041.tar.xz forums-58ebfa1407ab06bac3ae731cbf751cb94ed3a041.zip |
fudge-o-rama mkII
git-svn-id: file:///svn/phpbb/trunk@4609 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/install/install.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php index 8358fcd963..73b9659ae7 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -55,9 +55,9 @@ if (@file_exists($phpbb_root_path . 'config.'.$phpEx)) // Obtain various vars $stage = (isset($_POST['stage'])) ? intval($_POST['stage']) : 0; - +//, 'acm_type' // These are all strings so we'll just traverse an array -$var_ary = array('language', 'dbms', 'dbhost', 'dbport', 'dbuser', 'dbpasswd', 'dbname', 'table_prefix', 'admin_name', 'admin_pass1', 'admin_pass2', 'board_email1', 'board_email2', 'server_name', 'server_port', 'script_path', 'acm_type', 'img_imagick', 'ftp_path', 'ftp_user', 'ftp_pass'); +$var_ary = array('language', 'dbms', 'dbhost', 'dbport', 'dbuser', 'dbpasswd', 'dbname', 'table_prefix', 'admin_name', 'admin_pass1', 'admin_pass2', 'board_email1', 'board_email2', 'server_name', 'server_port', 'script_path', 'img_imagick', 'ftp_path', 'ftp_user', 'ftp_pass'); foreach ($var_ary as $var) { @@ -757,8 +757,10 @@ if ($stage == 1) <td class="row1" width="50%"><b><?php echo $lang['SCRIPT_PATH']; ?>: </b></td> <td class="row2"><input class="post" type="text" name="script_path" value="<?php echo $script_path; ?>" /></td> </tr> + <!-- tr> <td class="row1" width="50%"><b><?php echo $lang['CACHE_STORE']; ?>: </b><br /><span class="gensmall"><?php echo $lang['CACHE_STORE_EXPLAIN']; ?></span></td> <td class="row2"><input type="radio" name="acm_type" value="db" <?php echo ($acm_type == 'db') ? 'checked="checked" ' : ''; ?>/> <?php echo $lang['STORE_DATABASE']; ?> <input type="radio" name="acm_type" value="file" <?php echo (!$acm_type || $acm_type == 'file') ? 'checked="checked" ' : ''; ?>/> <?php echo $lang['STORE_FILESYSTEM']; ?></td> + </tr --> <tr> <td class="cat" colspan="2" align="center"><?php echo $s_hidden_fields; ?><input class="btnmain" name="install" type="submit" value="<?php echo $lang['INSTALL_START']; ?>" /></td> </tr> @@ -806,7 +808,8 @@ if ($stage == 2) $config_data .= "\$dbuser = '$dbuser';\n"; $config_data .= "\$dbpasswd = '$dbpasswd';\n\n"; $config_data .= "\$table_prefix = '$table_prefix';\n"; - $config_data .= "\$acm_type = '" . (($acm_type) ? $acm_type : 'db') . "';\n"; +// $config_data .= "\$acm_type = '" . (($acm_type) ? $acm_type : 'file') . "';\n"; + $config_data .= "\$acm_type = 'file';\n"; $config_data .= "\$load_extensions = '$load_extensions';\n\n"; $config_data .= "define('PHPBB_INSTALLED', true);\n"; $config_data .= "define('DEBUG', true);\n"; // Comment out when final |