mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-21 03:49:21 -04:00
* Separate the portion of get_db_info.html.php that displays the status of the var directory into a separate view var_dir_status.html.php * Change the processing to always generate the database information request screen unless there is an environment error, the var directory is not writable and the install was successful Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
59 lines
1.2 KiB
PHP
59 lines
1.2 KiB
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<form method="post" action="index.php?step=save_db_info">
|
|
<fieldset>
|
|
<legend>Database</legend>
|
|
<p>
|
|
We've provided values that work for most common web hosts. If
|
|
you have problems, contact your web host for help.
|
|
</p>
|
|
<br/>
|
|
<table id="db_info">
|
|
<tr>
|
|
<td>
|
|
Database Name
|
|
</td>
|
|
<td>
|
|
<input name="dbname" value="<?= $dbname ?>"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
User
|
|
</td>
|
|
<td>
|
|
<input name="dbuser" value="<?= $user ?>"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Password
|
|
</td>
|
|
<td>
|
|
<input name="dbpass" value="<?= $password ?>"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Host
|
|
</td>
|
|
<td>
|
|
<input name="dbhost" value="<?= $host ?>"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
Table Prefix
|
|
</td>
|
|
<td>
|
|
<input name="prefix" value="<?= $prefix ?>"/>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<input type="submit" value="Continue"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</fieldset>
|
|
</form>
|