MDL-40415 add explicit OPcache support

This commit is contained in:
Petr Škoda
2013-07-04 19:32:26 +02:00
parent f8e6e5bc30
commit c05a50992e
17 changed files with 136 additions and 0 deletions
+6
View File
@@ -36,6 +36,12 @@ if (isset($_SERVER['REMOTE_ADDR'])) {
exit(1);
}
// Force OPcache reset if used, we do not want any stale caches
// when preparing test environment.
if (function_exists('opcache_reset')) {
opcache_reset();
}
$help =
"Advanced command line Moodle database installer.
Please note you must execute this script with the same uid as apache.