Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 485 Bytes
--- 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;
}
Something went wrong with that request. Please try again.