Skip to content
Snippets Groups Projects
Commit c6fe8e54 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix first install on debian.

parent ebd9a97b
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ $conffiletoshow = "htdocs/conf/conf.php";
//$conffiletoshow = "/etc/dolibarr/conf.php";
if (! defined('DONOTLOADCONF') && file_exists($conffile))
if (! defined('DONOTLOADCONF') && file_exists($conffile) && filesize($conffile) > 8) // Test on filesize is to ensure that conf file is more that an empty template with just <?php in first line
{
$result=include_once $conffile; // Load conf file
if ($result)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment