mirror of
https://github.com/mrclay/minify.git
synced 2025-08-16 02:54:33 +02:00
test_Minify.php : realpath applied to DOC_ROOT
This commit is contained in:
@@ -102,7 +102,7 @@ function test_Minify()
|
|||||||
$pathToWebTest = str_replace(
|
$pathToWebTest = str_replace(
|
||||||
DIRECTORY_SEPARATOR
|
DIRECTORY_SEPARATOR
|
||||||
,'/'
|
,'/'
|
||||||
,substr(dirname(__FILE__), strlen($_SERVER['DOCUMENT_ROOT']))
|
,substr(dirname(__FILE__), strlen(realpath($_SERVER['DOCUMENT_ROOT'])))
|
||||||
);
|
);
|
||||||
$expectedContent = str_replace(
|
$expectedContent = str_replace(
|
||||||
'%PATH_TO_WEB_TEST%'
|
'%PATH_TO_WEB_TEST%'
|
||||||
|
Reference in New Issue
Block a user