]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - install.php
All tests pass except for those that require matching parens or brackets
[quix0rs-gnu-social.git] / install.php
index f02a0666387518794b51588bca06319ca1494933..c13f70272d7b3d4ce0ea3de9fd3ef7119412b8ea 100644 (file)
@@ -49,8 +49,7 @@ function checkPrereqs()
     }
 
     $reqs = array('gd', 'curl',
-                  'xmlwriter', 'mbstring',
-                  'gettext');
+                  'xmlwriter', 'mbstring');
 
     foreach ($reqs as $req) {
         if (!checkExtension($req)) {
@@ -378,7 +377,7 @@ function writeConf($sitename, $server, $path, $fancy, $db)
             
             // database
             "\$config['db']['database'] = '{$db['database']}';\n\n".
-            ($type == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\n\n":'').
+            ($db['type'] == 'pgsql' ? "\$config['db']['quote_identifiers'] = true;\n\n":'').
             "\$config['db']['type'] = '{$db['type']}';\n\n".
             
             "?>";