1
0
mirror of https://github.com/mrclay/minify.git synced 2025-02-24 08:52:50 +01:00

test_Minify.php : realpath applied to DOC_ROOT

This commit is contained in:
Steve Clay 2008-11-03 19:50:52 +00:00
parent c0a3b93bed
commit 3d2076148c

View File

@ -102,7 +102,7 @@ function test_Minify()
$pathToWebTest = str_replace(
DIRECTORY_SEPARATOR
,'/'
,substr(dirname(__FILE__), strlen($_SERVER['DOCUMENT_ROOT']))
,substr(dirname(__FILE__), strlen(realpath($_SERVER['DOCUMENT_ROOT'])))
);
$expectedContent = str_replace(
'%PATH_TO_WEB_TEST%'