mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
fixed bad path for css on windows
Signed-off-by: Mark Story <mark@mark-story.com>
This commit is contained in:
parent
8a4ad9f51a
commit
cc59b04ad3
1 changed files with 1 additions and 1 deletions
|
@ -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 . '/';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue