summaryrefslogtreecommitdiff
path: root/installer/installer.php
diff options
context:
space:
mode:
Diffstat (limited to 'installer/installer.php')
-rw-r--r--installer/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/installer.php b/installer/installer.php
index 4480e35e..7a417634 100644
--- a/installer/installer.php
+++ b/installer/installer.php
@@ -60,7 +60,7 @@ class installer {
$prefix = $config["prefix"];
$buf = null;
foreach (file(DOCROOT . "installer/install.sql") as $line) {
- $buf .= $line;
+ $buf .= trim($line);
if (preg_match("/;$/", $buf)) {
if (!mysql_query(self::prepend_prefix($prefix, $buf))) {
return false;