Skip to content

Commit

Permalink
fixed bad path for css on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information
Matt Curry authored and markstory committed Mar 20, 2010
1 parent 8a4ad9f commit cc59b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/tests/lib/cake_test_suite_dispatcher.php
Expand Up @@ -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 . '/';
}

Expand Down

0 comments on commit cc59b04

Please sign in to comment.