From c6fe8e54793feb2f7c1c215295313cb23dac4fcf Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 6 Feb 2016 17:13:24 +0100 Subject: [PATCH] Fix first install on debian. --- htdocs/install/inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/install/inc.php b/htdocs/install/inc.php index ac6f444f45e..ed0736ee9dc 100644 --- a/htdocs/install/inc.php +++ b/htdocs/install/inc.php @@ -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