mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
- do not issue a warning if config file is not present during installation
This commit is contained in:
parent
db1c3b7c9d
commit
385274824d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user