Explorar el Código

[ClassLoader] made a small change to be consistent with the previous change

Fabien Potencier hace 14 años
padre
commit
14d58d97bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Symfony/Component/ClassLoader/ClassCollectionLoader.php

+ 1 - 1
src/Symfony/Component/ClassLoader/ClassCollectionLoader.php

@@ -56,7 +56,7 @@ class ClassCollectionLoader
         // auto-reload
         $reload = false;
         if ($autoReload) {
-            $metadata = $cacheDir.'/'.$name.'.meta';
+            $metadata = $cacheDir.'/'.$name.$extension.'.meta';
             if (!file_exists($metadata) || !file_exists($cache)) {
                 $reload = true;
             } else {