Skip to content
Browse files

Fix hard-coded directory separate.

  • Loading branch information...
1 parent 09c1014 commit c96ae418ab205a4932588a9a4f07d8c23bbde729 @nishigori nishigori committed Mar 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/bootstrap.php
View
2 tests/bootstrap.php
@@ -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 c96ae41

Please sign in to comment.
Something went wrong with that request. Please try again.