mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Save towns as plain PHP File in cache folder
+ Also load them on install + on reload items = better performance when in dev mode
This commit is contained in:
@@ -76,6 +76,13 @@ else {
|
||||
error(Spells::getLastError());
|
||||
}
|
||||
|
||||
if (Towns::save()) {
|
||||
success($locale['step_database_loaded_towns']);
|
||||
}
|
||||
else {
|
||||
warning($locale['step_database_error_towns']);
|
||||
}
|
||||
|
||||
// update config.highscores_ids_hidden
|
||||
require_once SYSTEM . 'migrations/20.php';
|
||||
$database_migration_20 = true;
|
||||
|
Reference in New Issue
Block a user