X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install.php;h=bc82e5e37a8e0fbb7c5491ce88146b76fadf367d;hb=4e1cb6f9a78a09257467a3e522c8dec2509a1523;hp=66e8e8712460ecc007feb79ea3ebf0aa8622f1b5;hpb=aaeed091d23a0d2f969578dd95ead8df4ea7eb11;p=quix0rs-gnu-social.git diff --git a/install.php b/install.php index 66e8e87124..bc82e5e37a 100644 --- a/install.php +++ b/install.php @@ -35,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.

Cannot load required extension:

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/

+ $config_path = htmlentities(trim(dirname($_SERVER['REQUEST_URI']), '/')); + echo<< @@ -108,11 +111,21 @@ function showForm()

The name of your site

  • + + enable
    + disable
    +

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

    +
  • Database hostname

  • +
  • + + +

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

    +
  • @@ -132,7 +145,8 @@ function showForm() -
    Page notice
      new Laconica site."); ?> "); return $res; } @@ -276,6 +300,8 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + +