diff --git a/test/data/include_js.php b/test/data/include_js.php index 1e12588eb..ee9c71a5d 100644 --- a/test/data/include_js.php +++ b/test/data/include_js.php @@ -1,13 +1,13 @@ (function() { -window.hasPHP = false /* */; +window.hasPHP = false /* */; if ( !window.top.jQueryIncludes ) { window.top.jQueryIncludes = (function() { var location = window.top.document.location.href, - baseURL = location.replace( /\/test\/.+/, "/"), + baseURL = location.replace( /\/test\/.*/, "/"), version = /(?:&|\?)jquery=([^&]+?)(?:$|&)/.exec( location ), includes, i;