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:
parent
c0a3b93bed
commit
3d2076148c
@ -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%'
|
||||
|
Loading…
x
Reference in New Issue
Block a user