diff options
author | Chad Kieffer <chad@2tbsp.com> | 2008-11-06 04:37:28 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2008-11-06 04:37:28 +0000 |
commit | c4407f7bdafd5390ecff98c2fb38aeaae9a9195c (patch) | |
tree | 5fd88f51c4b8a2bd44c02f8c3eec92eea801580f | |
parent | cf27982466a79e0e73be2b6911d2312cdf22c147 (diff) |
spruce up the display of commands
-rw-r--r-- | core/controllers/welcome.php | 4 | ||||
-rw-r--r-- | core/views/welcome.html.php | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index 53e5aaa4..a311a218 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -130,10 +130,10 @@ class Welcome_Controller extends Template_Controller { $db_php = VARPATH . "database.php"; if (!file_exists($db_php)) { $error = new stdClass(); - $error->message = "Missing: $db_php"; + $error->message = "Missing: $db_php <br/> Run the following commands..."; $error->instructions[] = "cp " . DOCROOT . "kohana/config/database.php $db_php"; $error->instructions[] = "chmod 644 $db_php"; - $error->message2 = "Then edit this file and enter your database configuration settings."; + $error->message2 = "...then edit this file and enter your database configuration settings."; $errors[] = $error; } else if (!is_readable($db_php)) { $error = new stdClass(); diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 135fc58a..525d3bf7 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -35,8 +35,10 @@ } pre { - margin: 0; - padding-left: 2em; + border: 1px solid #666; + margin: 1em 0; + padding: .5em; + overflow: scroll; } .error { |