From 4a439e1c69c708887ca2542ab932a71ea8134871 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 17 Apr 2008 10:56:49 +0000 Subject: [PATCH] Security: Backup and restore works even with root empty password --- htdocs/admin/tools/dolibarr_import.php | 19 +++++++++++-------- htdocs/admin/tools/export.php | 11 ++++++++--- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/htdocs/admin/tools/dolibarr_import.php b/htdocs/admin/tools/dolibarr_import.php index c0fc649c31e..fa82e7d9bee 100644 --- a/htdocs/admin/tools/dolibarr_import.php +++ b/htdocs/admin/tools/dolibarr_import.php @@ -14,19 +14,15 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * $Id$ - * $Source$ */ /** \file htdocs/admin/tools/dolibarr_import.php \brief Page import de la base - \version $Revision$ + \version $Id$ */ require("./pre.inc.php"); -include_once $dolibarr_main_document_root."/lib/databases/".$conf->db->type.".lib.php"; $langs->load("admin"); $langs->load("other"); @@ -115,11 +111,18 @@ function show_checked_option() { trans("ImportMySqlDesc"); ?>
-
+