summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-18 03:55:34 +0000
committerBharat Mediratta <bharat@menalto.com>2009-05-18 03:55:34 +0000
commit29e8bd5230b5178386515a1092bb9f74fff53375 (patch)
tree3d6147b00d53524bdece2cffa789008976e5be69 /modules/gallery_unit_test/views
parent39bfe5ee7457fc7597d0723e7fbb08732fec8eac (diff)
Fix security preambles
Diffstat (limited to 'modules/gallery_unit_test/views')
-rw-r--r--modules/gallery_unit_test/views/kohana_error_page.php3
-rw-r--r--modules/gallery_unit_test/views/kohana_unit_test_cli.php4
2 files changed, 4 insertions, 3 deletions
diff --git a/modules/gallery_unit_test/views/kohana_error_page.php b/modules/gallery_unit_test/views/kohana_error_page.php
index b1d58d3a..c0ae7173 100644
--- a/modules/gallery_unit_test/views/kohana_error_page.php
+++ b/modules/gallery_unit_test/views/kohana_error_page.php
@@ -1,4 +1,5 @@
-<?php
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<?
echo $error, "\n\n";
echo wordwrap($description, 80), "\n\n";
if (!empty($line) && !empty($file)) {
diff --git a/modules/gallery_unit_test/views/kohana_unit_test_cli.php b/modules/gallery_unit_test/views/kohana_unit_test_cli.php
index 29990785..352671eb 100644
--- a/modules/gallery_unit_test/views/kohana_unit_test_cli.php
+++ b/modules/gallery_unit_test/views/kohana_unit_test_cli.php
@@ -1,5 +1,5 @@
-<? defined("SYSPATH") or die("No direct script access.") ?>
-<?php
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<?
function green_start() {
return "\x1B[32m";