Skip to content

Commit

Permalink
Fix SIFO’s autoload with non-SIFO classes with namespaces that doesn’…
Browse files Browse the repository at this point in the history
…t exists
  • Loading branch information
Albert Garcia committed Apr 12, 2017
1 parent 485af4b commit aecb0e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sifo/Config.php
Expand Up @@ -186,7 +186,7 @@ public function getClassInfo( $class_type )
elseif( isset( $class_type[1] ) )
{
$class_type = array_reverse( $class_type );
$path = $classes[$class_type[0]][$class_type[1]];
$path = isset($classes[$class_type[0]][$class_type[1]]) ? $classes[$class_type[0]][$class_type[1]] : null;
}

if ( isset( $classes[$class_type[0]] ) && !isset( $path ) )
Expand Down

0 comments on commit aecb0e7

Please sign in to comment.