X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=install.php;h=b94a9293607e7928659c4da53e09323283d61f5b;hb=205d8afe546b385100103dafc439d0397c36cbf4;hp=0240349bb15d1220f2cdd7babdef83c720febabd;hpb=8cc19b90eeb7920b2cfe79959038c5e25f40930a;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index 0240349bb1..b94a929360 100644 --- a/install.php +++ b/install.php @@ -1,4 +1,22 @@ -. + */ + define('INSTALLDIR', dirname(__FILE__)); function main() @@ -17,15 +35,17 @@ function main() function checkPrereqs() { + $pass = true; + if (file_exists(INSTALLDIR.'/config.php')) { ?>

Config file "config.php" already exists.

-

Require PHP version 5 or greater.

Require PHP version 5 or greater.

Cannot load required extension "".

Cannot load required extension:

Cannot write config file to "".

-

On your server, try this command:

-
chmod a+w
-

Cannot write config file to:

+

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

Cannot write avatar directory "/avatar/".

-

On your server, try this command:

-
chmod a+w /avatar/
+ ?>

Cannot write avatar directory: /avatar/

+

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

-

Enter your database connection information below to initialize the database.

-
-
- - -
+ echo<< + + +
+
Page notice
+
+
+

Enter your database connection information below to initialize the database.

+
+
+
+ +
+ Connection settings +
    +
  • + + +

    The name of your site

    +
  • +
  • + + enable
    + disable
    +

    Enable fancy (pretty) URLs. Auto-detection failed, it depends on Javascript.

    +
  • +
  • + + +

    Database hostname

    +
  • +
  • + + +

    Database name

    +
  • +
  • + + +

    Database username

    +
  • +
  • + + +

    Database password

    +
  • +
+ +
- -
  • - -
  • -> + + -