Commit 737b9490 by lmf

修复zend Loader.php 文件 下订单时报错问题

parent ab93e7e3
......@@ -177,19 +177,27 @@ class Zend_Loader
foreach (self::explodeIncludePath() as $path) {
if ($path == '.') {
if (is_readable($filename)) {
if (self::is_readable2($filename)) {
return true;
}
continue;
}
$file = $path . '/' . $filename;
if (is_readable($file)) {
if (self::is_readable2($file)) {
return true;
}
}
return false;
}
private static function is_readable2($filename) {
try {
return is_readable($filename);
} catch (Exception $ex) {
return false;
}
}
/**
* Explode an include path into an array
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment