summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test/views/kohana_error_page.php
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/kohana_error_page.php
parent39bfe5ee7457fc7597d0723e7fbb08732fec8eac (diff)
Fix security preambles
Diffstat (limited to 'modules/gallery_unit_test/views/kohana_error_page.php')
-rw-r--r--modules/gallery_unit_test/views/kohana_error_page.php3
1 files changed, 2 insertions, 1 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)) {