diff options
Diffstat (limited to 'installer')
| -rw-r--r-- | installer/installer.php | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/installer/installer.php b/installer/installer.php index ab2963ba..1a36ddb5 100644 --- a/installer/installer.php +++ b/installer/installer.php @@ -50,6 +50,7 @@ class installer {    static function unpack_sql($config) {      $prefix = $config["prefix"]; +    $buf = null;      foreach (file(DOCROOT . "installer/install.sql") as $line) {        $buf .= $line;        if (preg_match("/;$/", $buf)) { @@ -133,4 +134,4 @@ class installer {    static function prepend_prefix($prefix, $sql) {      return  preg_replace("#{([a-zA-Z0-9_]+)}#", "{$prefix}$1", $sql);    } -}
\ No newline at end of file +} | 
