Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (15 sloc) 0.485 kb
--- lib/Varien/Autoload.php.orig 2011-09-14 13:23:56.984556905 +0200
+++ lib/Varien/Autoload.php 2011-09-14 13:23:41.884557007 +0200
@@ -90,6 +90,13 @@
}
$classFile.= '.php';
//echo $classFile;die();
+
+ // do not blow up if file does not exist,
+ // other autoloaders should have their turn as well
+ if (!stream_resolve_include_path($classFile)) {
+ return false;
+ }
+
return include $classFile;
}
Jump to Line
Something went wrong with that request. Please try again.