diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-05-09 20:09:15 -0400 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-05-09 20:09:15 -0400 |
commit | b6ad4157d1aae5849ad5608b90c62f1acf22e1a9 (patch) | |
tree | 813864a764b996184cfdc8e056cbc9bb64c21c6a | |
parent | 07af91e05d8d48209facec4cc3fe54c92e2f463e (diff) |
Get rid of the security preamble - we intend for these files to be directly accessible.
-rw-r--r-- | lib/uploadify/uploadify.allglyphs.php | 2 | ||||
-rw-r--r-- | lib/uploadify/uploadify.php | 2 | ||||
-rw-r--r-- | modules/gallery/tests/File_Structure_Test.php | 5 |
3 files changed, 7 insertions, 2 deletions
diff --git a/lib/uploadify/uploadify.allglyphs.php b/lib/uploadify/uploadify.allglyphs.php index e784b9b0..18b75a50 100644 --- a/lib/uploadify/uploadify.allglyphs.php +++ b/lib/uploadify/uploadify.allglyphs.php @@ -1,4 +1,4 @@ -<?php defined("SYSPATH") or die("No direct script access."); +<?php /** * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2013 Bharat Mediratta diff --git a/lib/uploadify/uploadify.php b/lib/uploadify/uploadify.php index 93001a8b..471405b6 100644 --- a/lib/uploadify/uploadify.php +++ b/lib/uploadify/uploadify.php @@ -1,4 +1,4 @@ -<?php defined("SYSPATH") or die("No direct script access."); +<?php /** * Gallery - a web based photo album viewer and editor * Copyright (C) 2000-2013 Bharat Mediratta diff --git a/modules/gallery/tests/File_Structure_Test.php b/modules/gallery/tests/File_Structure_Test.php index ce75ea13..f46d9d64 100644 --- a/modules/gallery/tests/File_Structure_Test.php +++ b/modules/gallery/tests/File_Structure_Test.php @@ -175,6 +175,11 @@ class File_Structure_Test extends Gallery_Unit_Test_Case { // Front controllers break; + case DOCROOT . "lib/uploadify/uploadify.php": + case DOCROOT . "lib/uploadify/uploadify.allglyphs.php": + // Uploadify wrappers - directly accessible + break; + case DOCROOT . "local.php": // Special case optional file, not part of the codebase break; |