Created
June 25, 2013 18:33
-
-
Save paulund/5861048 to your computer and use it in GitHub Desktop.
A PHP snippet to read multiple javascript files and combine them by changing the content type of the combined files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
readfile('jquery.js'); | |
readfile('general.js'); | |
readfile('jquery-ui.js'); | |
readfile('page.js'); | |
header('Content-type: text/javascript'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment