Permalink
Browse files

Merge pull request #1 from nishigori/master

Fixed hard-coded directory separators.
  • Loading branch information...
2 parents 09c1014 + c96ae41 commit 8e039bad18dcb1d06e94038d29403a703f095d6d @okitsu committed Mar 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/bootstrap.php
View
@@ -13,7 +13,7 @@ function my_autoload($className){
'.' => '',
);
$classPath = str_replace(array_keys($replaces),array_values($replaces),$className);
- $fileName = $src . '/' . $classPath . '.php';
+ $fileName = $src . DIRECTORY_SEPARATOR . $classPath . '.php';
if(is_file($fileName)){
require_once($fileName);

0 comments on commit 8e039ba

Please sign in to comment.