mirror of
https://github.com/mrclay/minify.git
synced 2025-02-24 08:52:50 +01:00
Renamed builder/index.js because Apache MultiViews was serving it instead of index.php!
This commit is contained in:
parent
4c9d62be82
commit
05b8462b59
@ -30,7 +30,7 @@ a URI to serve them as one file through Minify.</p>
|
||||
|
||||
<script type="text/javascript">
|
||||
// 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>');
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user