mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +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
|
// Load config file
|
||||||
if (!defined("LETODMS_INSTALL")) {
|
if (!defined("LETODMS_INSTALL")) {
|
||||||
if(!file_exists($configFilePath)) {
|
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;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -611,9 +611,9 @@ class Settings { /* {{{ */
|
||||||
$configFilePath = "conf/settings.xml";
|
$configFilePath = "conf/settings.xml";
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
echo "Configuration file not found <br>";
|
// 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";
|
// echo "Please create conf/settings.xml file. You can use installation procedure or 'conf/settings.xml.template' file to help you";
|
||||||
exit;
|
// exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user