From 60871555f539caec07f2dcfe37f11fc090bac1be Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 12 Apr 2012 06:50:11 -0700 Subject: reverting recent db driver changes - won't install cleanly, won't update cleanly, and leaks DB credentials over the web if there's a connection problem --- mod/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/install.php') diff --git a/mod/install.php b/mod/install.php index d1142248a..2eb98ee91 100644 --- a/mod/install.php +++ b/mod/install.php @@ -451,7 +451,7 @@ function load_database_rem($v, $i){ function load_database($db) { $str = file_get_contents('database.sql'); - $str = array_reduce(explode("\n", $str),"load_database_rem",""); +// $str = array_reduce(explode("\n", $str),"load_database_rem",""); $arr = explode(';',$str); $errors = false; foreach($arr as $a) { -- cgit v1.2.3