- do not issue a warning if config file is not present during installation

This commit is contained in:
steinm 2011-11-29 07:20:25 +00:00
parent db1c3b7c9d
commit 385274824d

View File

@ -156,7 +156,7 @@ class Settings { /* {{{ */
// Load config file
if (!defined("LETODMS_INSTALL")) {
if(!file_exists($configFilePath)) {
echo "You does not seem to have a valid configuration. Run the <a href=\"../install/install.php\">install tool</a> first.";
echo "You does not seem to have a valid configuration. Run the <a href=\"install/install.php\">install tool</a> first.";
exit;
}
}
@ -611,9 +611,9 @@ class Settings { /* {{{ */
$configFilePath = "conf/settings.xml";
else
{
echo "Configuration file not found <br>";
echo "Please create conf/settings.xml file. You can use installation procedure or 'conf/settings.xml.template' file to help you";
exit;
// echo "Configuration file not found <br>";
// echo "Please create conf/settings.xml file. You can use installation procedure or 'conf/settings.xml.template' file to help you";
// exit;
}
}