Permalink
Browse files

fixed bad path for css on windows

Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information...
1 parent 8a4ad9f commit cc59b04ad3d5f075c1e3601ea5149b4c109416ed Matt Curry committed with markstory Mar 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 . '/';
}

0 comments on commit cc59b04

Please sign in to comment.