mirror of
https://github.com/slawkens/myaac.git
synced 2026-02-25 14:43:31 +01:00
Install: don't suggest deleting of install folder
It is not needed Instead just remove ip.txt, this will lock the installation
This commit is contained in:
@@ -57,6 +57,8 @@ if ($db->hasTable('players')) {
|
||||
DataLoader::setLocale($locale);
|
||||
DataLoader::load();
|
||||
|
||||
clearCache();
|
||||
|
||||
// add menus entries
|
||||
require_once SYSTEM . 'migrations/17.php';
|
||||
$up();
|
||||
@@ -105,6 +107,10 @@ if(file_exists(CACHE . 'install.txt')) {
|
||||
unlink(CACHE . 'install.txt');
|
||||
}
|
||||
|
||||
if(file_exists(BASE . 'install/ip.txt')) {
|
||||
unlink(BASE . 'install/ip.txt');
|
||||
}
|
||||
|
||||
$locale['step_finish_desc'] = str_replace('$ADMIN_PANEL$', generateLink(str_replace('tools/', '',ADMIN_URL), $locale['step_finish_admin_panel'], true), $locale['step_finish_desc']);
|
||||
$locale['step_finish_desc'] = str_replace('$HOMEPAGE$', generateLink(str_replace('tools/', '', BASE_URL), $locale['step_finish_homepage'], true), $locale['step_finish_desc']);
|
||||
$locale['step_finish_desc'] = str_replace('$LINK$', generateLink('https://my-aac.org', 'https://my-aac.org', true), $locale['step_finish_desc']);
|
||||
|
||||
Reference in New Issue
Block a user