summaryrefslogtreecommitdiff
path: root/lib/uploadify
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-05-09 16:01:57 -0400
committerBharat Mediratta <bharat@menalto.com>2013-05-09 16:01:57 -0400
commitc9627210165e7fc0ff9a2bf00c435d50a013e13f (patch)
treef1a2c1f28b89aa4c023c32b466f2f743559a0271 /lib/uploadify
parented8ec288c6a402b7748356182e9671b93739b073 (diff)
Add the proper Gallery preamble.
Diffstat (limited to 'lib/uploadify')
-rw-r--r--lib/uploadify/uploadify.allglyphs.php21
-rw-r--r--lib/uploadify/uploadify.php21
2 files changed, 40 insertions, 2 deletions
diff --git a/lib/uploadify/uploadify.allglyphs.php b/lib/uploadify/uploadify.allglyphs.php
index 68db0dcc..e784b9b0 100644
--- a/lib/uploadify/uploadify.allglyphs.php
+++ b/lib/uploadify/uploadify.allglyphs.php
@@ -1,4 +1,23 @@
-<?
+<?php defined("SYSPATH") or die("No direct script access.");
+/**
+ * Gallery - a web based photo album viewer and editor
+ * Copyright (C) 2000-2013 Bharat Mediratta
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
// Redirect the initial request to strip off any query parameters or URL fragments
// We know it's an initial request if the token is missing
if (empty($_GET["token"])) {
diff --git a/lib/uploadify/uploadify.php b/lib/uploadify/uploadify.php
index 8ea78d81..93001a8b 100644
--- a/lib/uploadify/uploadify.php
+++ b/lib/uploadify/uploadify.php
@@ -1,4 +1,23 @@
-<?
+<?php defined("SYSPATH") or die("No direct script access.");
+/**
+ * Gallery - a web based photo album viewer and editor
+ * Copyright (C) 2000-2013 Bharat Mediratta
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or (at
+ * your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
// Redirect the initial request to strip off any query parameters or URL fragments
// We know it's an initial request if the token is missing
if (empty($_GET["token"])) {