summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery_unit_test')
-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";