X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=c222afa7b5fc34083be68b358c6f50a87891c12d;hb=628a9371082531908a023618ad4216a2f254f481;hp=bae296a350ab5925284b2a2cd1f20f64d5cefef5;hpb=db19d61e68fcf8398579c2c4968e73db7f7ed93b;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index bae296a350..c222afa7b5 100644 --- a/install.php +++ b/install.php @@ -70,17 +70,16 @@ function checkPrereqs() $pass = false; } - if (!is_writable(INSTALLDIR.'/avatar/')) { - ?>

Cannot write avatar directory: /avatar/

-

On your server, try this command: chmod a+w /avatar/

-

Cannot write background directory: /background/

-

On your server, try this command: chmod a+w /background/

-

Cannot write directory:

+

On your server, try this command: chmod a+w

+ server_encoding != 'UTF8') { + updateStatus("Laconica requires UTF8 character encoding. Your database is ". htmlentities($record->server_encoding)); + showForm(); + return false; + } updateStatus("Running database script..."); //wrap in transaction; @@ -285,7 +298,7 @@ function pgsql_db_installer($host, $database, $username, $password, $sitename) { } -function mysql_db_installer($host, $database, $username, $password, $sitename) { +function mysql_db_installer($host, $database, $username, $password, $sitename, $fancy) { updateStatus("Starting installation..."); updateStatus("Checking database...");