From cc59b04ad3d5f075c1e3601ea5149b4c109416ed Mon Sep 17 00:00:00 2001 From: Matt Curry Date: Fri, 19 Mar 2010 17:20:51 -0400 Subject: [PATCH] fixed bad path for css on windows Signed-off-by: Mark Story --- cake/tests/lib/cake_test_suite_dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/tests/lib/cake_test_suite_dispatcher.php b/cake/tests/lib/cake_test_suite_dispatcher.php index d6bef5cd2..531448d7c 100644 --- a/cake/tests/lib/cake_test_suite_dispatcher.php +++ b/cake/tests/lib/cake_test_suite_dispatcher.php @@ -76,7 +76,7 @@ class CakeTestSuiteDispatcher { */ function CakeTestSuiteDispatcher() { $this->_baseUrl = $_SERVER['PHP_SELF']; - $dir = dirname($this->_baseUrl); + $dir = rtrim(dirname($this->_baseUrl), '\\'); $this->_baseDir = ($dir === '/') ? $dir : $dir . '/'; }