MDL-47270 core_component: make cache independent of filesystem ordering

This commit is contained in:
Matt Petro
2014-09-16 13:18:39 -04:00
parent 9a45421093
commit 8349864b0e
+1
View File
@@ -582,6 +582,7 @@ $cache = '.var_export($cache, true).';
// Note: Add extra deprecated legacy classes here as necessary.
self::$classmap['textlib'] = "$CFG->dirroot/lib/classes/text.php";
self::$classmap['collatorlib'] = "$CFG->dirroot/lib/classes/collator.php";
ksort(self::$classmap);
}