summaryrefslogtreecommitdiffstats
path: root/lib/install.php
diff options
context:
space:
mode:
authormomo-i <momo-i@ampache>2009-07-02 22:42:40 +0000
committermomo-i <momo-i@ampache>2009-07-02 22:42:40 +0000
commit6136bb10817c1677fb981f0c73737ad69e965d25 (patch)
tree1f2640c6e24f700a42c3ea67dff5b62ac63ae3ac /lib/install.php
parent1eec25649610a745df670a7465e24a38b2066182 (diff)
downloadampache-6136bb10817c1677fb981f0c73737ad69e965d25.tar.gz
ampache-6136bb10817c1677fb981f0c73737ad69e965d25.tar.bz2
ampache-6136bb10817c1677fb981f0c73737ad69e965d25.zip
fixed for PHP 5.3.0 deprecate warnings
Diffstat (limited to 'lib/install.php')
-rw-r--r--lib/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/install.php b/lib/install.php
index 1d114915..32537bdd 100644
--- a/lib/install.php
+++ b/lib/install.php
@@ -26,7 +26,7 @@
*/
function split_sql($sql) {
$sql = trim($sql);
- $sql = ereg_replace("\n#[^\n]*\n", "\n", $sql);
+ $sql = preg_replace("/\n#[^\n]*\n/", "\n", $sql);
$buffer = array();
$ret = array();
$in_string = false;