X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAutoLoader.php;h=6e7705653fea9abb98b26159b17252ee4298871a;hb=922ed49802867593e5b2807598181ab5edfef048;hp=52410fede871b1c5d78b3c36e79304d732fe95f1;hpb=69240c4b143ef9e01a7f3479349c56e568504ba3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 52410fede8..6e7705653f 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -82,7 +82,7 @@ class AutoLoader { if ( isset( self::$psr4Namespaces[$prefix] ) ) { $relativeClass = substr( $className, $pos + 1 ); // Build the expected filename, and see if it exists - $file = self::$psr4Namespaces[$prefix] . + $file = self::$psr4Namespaces[$prefix] . '/' . str_replace( '\\', '/', $relativeClass ) . '.php'; if ( file_exists( $file ) ) { $filename = $file;