Fixing some errors at the install endscreen (#75)

* Fixed some bugs at last install screen (unset country and HTTPS protocol definition)

* Correction: allow_url_fopen is not to make any distinction between HTTP/HTTPS

* Black skull bug when joining serverInfo

* * latin is good but utf8 is better

* also changed ENGINE to InnoDB

* * use curl as alternative option for reporting install

* * you forgot this

* * fix typo

* Revert "* fix typo"

This reverts commit 6f24509dd6.

* * fix typo

* * this is the correct way to hide that notice
This commit is contained in:
Tornadia
2019-04-19 16:28:38 -04:00
committed by slawkens
parent 5ad82a305e
commit 9f31f90146
5 changed files with 41 additions and 30 deletions

View File

@@ -153,8 +153,8 @@ if(!$db->hasColumn('accounts', 'premium_points')) {
}
if(!$db->hasColumn('guilds', 'motd')) {
if(query("ALTER TABLE `guilds` MODIFY `motd` VARCHAR(255) NOT NULL DEFAULT '';"))
success($locale['step_database_modifying_field'] . ' guilds.motd...');
if(query("ALTER TABLE `guilds` ADD `motd` VARCHAR(255) NOT NULL DEFAULT '';"))
success($locale['step_database_adding_field'] . ' guilds.motd...');
}
if(!$db->hasColumn('guilds', 'description')) {