X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FAutoLoader.php;h=6e7705653fea9abb98b26159b17252ee4298871a;hb=08a0bec2c20f5a40459a51a1254912b78321c3c1;hp=52410fede871b1c5d78b3c36e79304d732fe95f1;hpb=d26f3a3232f769803bec779735b21dcda5fdacc7;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;