added WsSecurityKey

This commit is contained in:
Andreas Schamberger
2011-11-01 11:12:07 +01:00
parent 247f9ae5da
commit 4ea60adcb7
7 changed files with 290 additions and 1 deletions

View File

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