You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using latest git, new updates to minify break it when vanilla is installed not in the root. $Href contains full path, like "/vanilla/js/jquery.js", but PATH_ROOT also contains it, so concatenating them gives something like "/www/vanilla/vanilla/js/jquery.js", also base path is being passed to Minify as separate parameter, and since all hrefs contain that basepath, minify won't find any files.
Fix seems to be plain simple - in cutting basepath from $Href.
The text was updated successfully, but these errors were encountered:
Seems to be fixed. There is one problem though. Minify relies on environment a lot. Such as $_SERVER['DOCUMENT_ROOT']. This sometimes gets screwed up, and minify fails.
Using latest git, new updates to minify break it when vanilla is installed not in the root. $Href contains full path, like "/vanilla/js/jquery.js", but PATH_ROOT also contains it, so concatenating them gives something like "/www/vanilla/vanilla/js/jquery.js", also base path is being passed to Minify as separate parameter, and since all hrefs contain that basepath, minify won't find any files.
Fix seems to be plain simple - in cutting basepath from $Href.
The text was updated successfully, but these errors were encountered: