summaryrefslogtreecommitdiff
path: root/libs/js/jquery-mobile-1.1.0/combine.php
diff options
context:
space:
mode:
Diffstat (limited to 'libs/js/jquery-mobile-1.1.0/combine.php')
-rw-r--r--libs/js/jquery-mobile-1.1.0/combine.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/libs/js/jquery-mobile-1.1.0/combine.php b/libs/js/jquery-mobile-1.1.0/combine.php
deleted file mode 100644
index cac1eeae..00000000
--- a/libs/js/jquery-mobile-1.1.0/combine.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-// Get the filetype and array of files
-if ( ! isset($type) || ! isset($files) )
-{
- echo '$type and $files must be specified!';
- exit;
-}
-
-$contents = '';
-
-// Loop through the files adding them to a string
-foreach ( $files as $file ) {
- $contents .= file_get_contents($file). "\n\n";
-}
-
-// Set the content type, filesize and an expiration so its not cached
-header('Content-Type: ' . $type);
-header('Content-Length: ' . strlen($contents));
-header('Expires: Fri, 01 Jan 2010 05:00:00 GMT');
-
-// Deliver the file
-echo $contents;