Created
May 25, 2014 01:41
-
-
Save SamuelDavis/d00435506e8f8afbaaec to your computer and use it in GitHub Desktop.
Include this in .htaccess to allow parsing of PHP inside of .js, .css, etc. files
This file contains 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
AddType application/x-httpd-php .js .css | |
AddHandler x-httpd-php5 .js .css | |
<FilesMatch "\.(js|php|css)$"> | |
SetHandler application/x-httpd-php | |
</FilesMatch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment