mirror of
https://github.com/mrclay/minify.git
synced 2025-08-22 21:52:58 +02:00
Renamed builder/index.js because Apache MultiViews was serving it instead of index.php!
This commit is contained in:
@@ -30,7 +30,7 @@ a URI to serve them as one file through Minify.</p>
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// workaround required to test when /min isn't child of web root
|
// workaround required to test when /min isn't child of web root
|
||||||
var src = location.pathname.replace(/\/[^\/]*$/, '/index.js').substr(1);
|
var src = location.pathname.replace(/\/[^\/]*$/, '/_index.js').substr(1);
|
||||||
document.write('<\script type="text/javascript" src="../?f=' + src + '"><\/script>');
|
document.write('<\script type="text/javascript" src="../?f=' + src + '"><\/script>');
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user