From 2061575a2b8d132e8ce58e3b025ce9d8f5bf832d Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Fri, 12 Mar 2010 05:30:08 -0500
Subject: [PATCH] Set db dump filesize check from 60 KB to 30 KB.

---
 install/update.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install/update.php b/install/update.php
index 9484a55..0b1e263 100644
--- a/install/update.php
+++ b/install/update.php
@@ -149,7 +149,7 @@
 	system("mysqldump -h '".$conf['mysql']['host']."' -u '".$conf['mysql']['admin_user']."' -c -t --add-drop-table --create-options --quick --result-file=existing_db.sql ".$conf['mysql']['database']);
 }
 
-if(filesize('existing_db.sql') < 60000) die('Possible problem with dumping the database. We will stop here. Please check the file existing_db.sql');
+if(filesize('existing_db.sql') < 30000) die('Possible problem with dumping the database. We will stop here. Please check the file existing_db.sql');
 
 // create a backup copy of the ispconfig database in the root folder
 $backup_db_name = '/root/ispconfig_db_backup_'.@date('Y-m-d_h-i').'.sql';

--
Gitblit v1.9.1