Installer now creates the database.php file.

这个提交包含在:
Corby Krick 2013-04-21 10:58:14 -07:00
父节点 484fea42e7
当前提交 00fbf8798e

查看文件

@ -1,7 +1,7 @@
<?php <?php
$db_config_path = '../application/config/database.php'; $db_config_path = '../application/config/';
// Only load the classes in case the user submitted the form // Only load the classes in case the user submitted the form
if($_POST) { if($_POST) {
@ -92,7 +92,7 @@ if($_POST) {
<body> <body>
<h1>Install Cloudlog</h1> <h1>Install Cloudlog</h1>
<?php if(is_writable($db_config_path)):?> <?php if(is_writable($db_config_path)):?>
<?php if(isset($message)) {echo '<p class="error">' . $message . '</p>';}?> <?php if(isset($message)) {echo '<p class="error">' . $message . '</p>';}?>
@ -126,9 +126,9 @@ if($_POST) {
<p>When you login create a new admin account and delete the m0abc user account.</p> <p>When you login create a new admin account and delete the m0abc user account.</p>
<?php else: ?> <?php else: ?>
<p class="error">Please make the /application/config/database.php file writable. <strong>Example</strong>:<br /><br /><code>chmod 777 /application/config/database.php</code></p> <p class="error">Please make the /application/config/database.php file writable. <strong>Example</strong>:<br /><br /><code>chmod 777 /application/config/database.php</code></p>
<?php endif; ?> <?php endif; ?>
</body> </body>
</html> </html>