]> git.wh0rd.org Git - tt-rss.git/commitdiff
installer: fix missing semicolons
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Mar 2013 04:58:42 +0000 (08:58 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Mar 2013 04:58:42 +0000 (08:58 +0400)
install/index.php

index 21dd0d8c7818d84d318748b048d1bd72cb944bcf..2ac7a093536d1daa104459746a2d1299da8509dc 100644 (file)
 
                        foreach ($data as $line) {
                                if (preg_match("/define\('DB_TYPE'/", $line)) {
-                                       echo "\tdefine('DB_TYPE', '$DB_TYPE')\n";
+                                       echo "\tdefine('DB_TYPE', '$DB_TYPE');\n";
                                } else if (preg_match("/define\('DB_HOST'/", $line)) {
-                                       echo "\tdefine('DB_HOST', '$DB_HOST')\n";
+                                       echo "\tdefine('DB_HOST', '$DB_HOST');\n";
                                } else if (preg_match("/define\('DB_USER'/", $line)) {
-                                       echo "\tdefine('DB_USER', '$DB_USER')\n";
+                                       echo "\tdefine('DB_USER', '$DB_USER');\n";
                                } else if (preg_match("/define\('DB_NAME'/", $line)) {
-                                       echo "\tdefine('DB_NAME', '$DB_NAME')\n";
+                                       echo "\tdefine('DB_NAME', '$DB_NAME');\n";
                                } else if (preg_match("/define\('DB_PASS'/", $line)) {
-                                       echo "\tdefine('DB_PASS', '$DB_PASS')\n";
+                                       echo "\tdefine('DB_PASS', '$DB_PASS');\n";
                                } else if (preg_match("/define\('DB_PORT'/", $line)) {
-                                       echo "\tdefine('DB_PORT', '$DB_PORT')\n";
+                                       echo "\tdefine('DB_PORT', '$DB_PORT');\n";
 
                                } else {
                                        print "$line\n";