add XML mime filter

This commit is contained in:
Andreas Schamberger
2012-01-29 14:38:12 +01:00
parent f0b596be99
commit 107a2904c1
5 changed files with 105 additions and 5 deletions

View File

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