diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-05-31 23:28:42 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-05-31 23:28:42 -0700 |
commit | 3c24d9476618496c8f2e1ca2f6025fa157120e43 (patch) | |
tree | e3d8b381098affa3081cc95cd74ebeabef972ab3 /installer | |
parent | 463b3454ae7633815e24cdf86e81c57409dd15a9 (diff) | |
parent | 79a05adb9d941671cefbdf6b1cc97f0cd84fabf3 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
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 +} |