X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=133f2b30f68843220461fb7fcefd52c01cf738f9;hb=3e0c291810d23bb54c337c0fe95c1ba441459c4c;hp=18fc362b62e6e9dce09ffe6779824538f23da1cb;hpb=458c03786735bd3e3b6619b2d20538bd55acd0c6;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index 18fc362b62..133f2b30f6 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.

-
-
- - -
+ $config_path = htmlentities(trim(dirname($_SERVER['REQUEST_URI']), '/')); + 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.

    +
  • +
  • + + +

    Site path, following the "/" after the domain name in the URL. Empty is fine. Field should be filled automatically.

    +
  • +
  • + + +

    Database hostname

    +
  • +
  • + + +

    Database name

    +
  • +
  • + + +

    Database username

    +
  • +
  • + + +

    Database password

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