]> git.mxchange.org Git - friendica.git/blobdiff - mod/install.php
standards
[friendica.git] / mod / install.php
index ce229244c07d006cae88485ca87eebc2588b502c..8854723b767adb46985200c077fcf16f2d189e84 100755 (executable)
@@ -48,7 +48,7 @@ function install_post(App $a) {
                                $db = new dba($dbhost, $dbuser, $dbpass, '', true);
 
                                if(! get_db_errno()) {
-                                       $r = q("CREATE DATABASE '%s'",
+                                       $r = q("CREATE DATABASE '%s' DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci",
                                                        dbesc($dbdata)
                                        );
                                        if ($r) {
@@ -460,9 +460,6 @@ function check_funcs(&$checks) {
                $ck_funcs[6]['status'] = false;
                $ck_funcs[6]['help'] = t('Error, XML PHP module required but not installed.');
        }
-
-       /*if((x($_SESSION,'sysmsg')) && is_array($_SESSION['sysmsg']) && count($_SESSION['sysmsg']))
-               notice( t('Please see the file "INSTALL.txt".') . EOL);*/
 }