Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 929 → Rev 930

/trunk/includes/oidplus.inc.php
98,7 → 98,7
$func = function(&$class_refs, $class_files, $namespace='') {
foreach ($class_files as $filename) {
$cn = strtolower(basename($filename));
$cn = preg_replace('@(\\.class){0,1}\\.php$@', '', $cn);
$cn = preg_replace('@(\\.class){0,1}\\.phps{0,1}$@', '', $cn);
if (!empty($namespace)) {
if (substr($namespace,-1,1) !== '\\') $namespace .= '\\';
$cn = strtolower($namespace) . $cn;
119,6 → 119,7
$class_files = array_merge($class_files, glob(__DIR__ . '/classes/'.'*'.'.class.php'));
$class_files = array_merge($class_files, glob(__DIR__ . '/../vendor/danielmarschall/fileformats/'.'*'.'.class.php'));
$class_files = array_merge($class_files, glob(__DIR__ . '/../vendor/danielmarschall/php_utils/'.'*'.'.class.php'));
$class_files = array_merge($class_files, glob(__DIR__ . '/../vendor/danielmarschall/oidconverter/php/'.'*'.'.class.phps'));
$func($class_refs, $class_files);
}