From 3d2076148c2b641663cafa3477297cfd21dd7735 Mon Sep 17 00:00:00 2001 From: Steve Clay Date: Mon, 3 Nov 2008 19:50:52 +0000 Subject: [PATCH] test_Minify.php : realpath applied to DOC_ROOT --- min_unit_tests/test_Minify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/min_unit_tests/test_Minify.php b/min_unit_tests/test_Minify.php index 20e96ac..9f9b3eb 100644 --- a/min_unit_tests/test_Minify.php +++ b/min_unit_tests/test_Minify.php @@ -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%'