Permalink
Browse files

tweak to file check

  • Loading branch information...
1 parent e4b508c commit d1a08e7658108d802ae64f1c0742e1553a2ccd7f @icheishvili committed Mar 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/bootstrap.php
View
2 tests/bootstrap.php
@@ -3,7 +3,7 @@
error_reporting(E_ALL | E_STRICT);
$autoload = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'autoload.php';
-if (is_file($autoload)) {
+if (is_readable($autoload)) {
require_once $autoload;
} else {
require_once $autoload . '.dist';

0 comments on commit d1a08e7

Please sign in to comment.