summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/uploadify/uploadify.allglyphs.php2
-rw-r--r--lib/uploadify/uploadify.php2
-rw-r--r--modules/gallery/tests/File_Structure_Test.php5
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;