aboutsummaryrefslogtreecommitdiffstats
path: root/mod/install.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-12 06:50:11 -0700
committerfriendica <info@friendica.com>2012-04-12 06:50:11 -0700
commit60871555f539caec07f2dcfe37f11fc090bac1be (patch)
treeadbc96ec52c57cb3352a49bfb0cfb4e1c355259f /mod/install.php
parent03563ca35a0c40224e3159c664c596691078df90 (diff)
downloadvolse-hubzilla-60871555f539caec07f2dcfe37f11fc090bac1be.tar.gz
volse-hubzilla-60871555f539caec07f2dcfe37f11fc090bac1be.tar.bz2
volse-hubzilla-60871555f539caec07f2dcfe37f11fc090bac1be.zip
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
Diffstat (limited to 'mod/install.php')
-rw-r--r--mod/install.php2
1 files changed, 1 insertions, 1 deletions
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) {