From 2ac615a35207113fd61e77e4b6a413893a90df86 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 31 Aug 2010 21:43:00 +0000 Subject: [PATCH] Fix: Error message --- htdocs/install/upgrade.php | 4 ++-- htdocs/install/upgrade2.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index 298edb43f2c..5d9665b218b 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -27,7 +27,7 @@ include_once("./inc.php"); if (! file_exists($conffile)) { - print 'Error: Dolibarr config file was not found. This may means that Dolibarr is not installed yet. Please call the page "/install/install.php" instead of "/install/upgrade.php").'; + print 'Error: Dolibarr config file was not found. This may means that Dolibarr is not installed yet. Please call the page "/install/index.php" instead of "/install/upgrade.php").'; } require_once($conffile); if (! isset($dolibarr_main_db_type)) $dolibarr_main_db_type='mysql'; // For backward compatibility require_once($dolibarr_main_document_root."/lib/databases/".$dolibarr_main_db_type.".lib.php"); @@ -80,7 +80,7 @@ if (! isset($_GET["action"]) || preg_match('/upgrade/i',$_GET["action"])) if (! $versionfrom && ! $versionto) { - print '
Parameter versionfrom or version to missing. Upgrade is launched from page install/install.php (like a first install) instead of install/upgrade.php
'; + print '
Parameter versionfrom or version to missing. Upgrade is launched from page install/index.php (like a first install) instead of install/upgrade.php
'; exit; } diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index e2ca496fb71..8bec175a4d1 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -28,7 +28,7 @@ include_once('./inc.php'); if (! file_exists($conffile)) { - print 'Error: Dolibarr config file was not found. This may means that Dolibarr is not installed yet. Please call the page "/install/install.php" instead of "/install/upgrade.php").'; + print 'Error: Dolibarr config file was not found. This may means that Dolibarr is not installed yet. Please call the page "/install/index.php" instead of "/install/upgrade.php").'; } require_once($conffile); if (! isset($dolibarr_main_db_type)) $dolibarr_main_db_type='mysql'; // For backward compatibility require_once($dolibarr_main_document_root . "/lib/databases/".$dolibarr_main_db_type.".lib.php");