summaryrefslogtreecommitdiff
path: root/installer/views/installer.txt.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-11 02:27:00 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-11 02:27:00 +0000
commit01666c5579b3de40981d9a06a627166e3bddedf6 (patch)
tree2621b656b07de422be1a7c014a9019ab84fa4bc6 /installer/views/installer.txt.php
parentafb90768b4c61ad7c0fd10dd04bf9bfe9458d4af (diff)
Fix all file structure issues (tabs, bad preambles, etc).
Note: installer/install.php is now on the "direct access" list.
Diffstat (limited to 'installer/views/installer.txt.php')
-rw-r--r--installer/views/installer.txt.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/installer/views/installer.txt.php b/installer/views/installer.txt.php
index 3b6f0512..e7dc155f 100644
--- a/installer/views/installer.txt.php
+++ b/installer/views/installer.txt.php
@@ -1,4 +1,5 @@
-<?php defined("SYSPATH") or die("No direct script access.");
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<?
function green_start() {
return "\x1B[32m";
}
@@ -16,7 +17,7 @@ function magenta_start() {
}
function print_msg($header, $msg, $error) {
- $format = "| %-21.21s | %-81.81s |\n";
+ $format = "| %-21.21s | %-81.81s |\n";
foreach (explode("\n", wordwrap($msg, 72)) as $text) {
if ($error) {
printf($format, $header, red_start() . $text . color_end());
@@ -36,7 +37,7 @@ foreach (self::$messages as $section) {
echo "+", str_repeat("-", 98), "+\n";
foreach ($section["msgs"] as $header => $msg) {
- print_msg($header, $msg["text"], $msg["error"]);
+ print_msg($header, $msg["text"], $msg["error"]);
}
}