Used BeSimple\SoapCommon\Cache to define the cache strategy

This commit is contained in:
Francis Besset
2011-09-04 00:36:24 +02:00
parent fd162d8ca6
commit aaca80a262
5 changed files with 65 additions and 6 deletions

View File

@ -16,6 +16,13 @@ spl_autoload_register(function($class) {
if (file_exists($path) && is_readable($path)) {
require_once $path;
return true;
}
} else if (0 === strpos($class, 'BeSimple\SoapCommon\\')) {
$path = __DIR__.'/../vendor/besimple-soapcommon/src/'.($class = strtr($class, '\\', '/')).'.php';
if (file_exists($path) && is_readable($path)) {
require_once $path;
return true;
}
}