Code comment

This commit is contained in:
Laurent Destailleur 2022-01-14 10:15:46 +01:00
parent b7aa152464
commit 5881e36ba6
2 changed files with 3 additions and 2 deletions

View File

@ -246,7 +246,7 @@ if (!empty($_SERVER['DOCUMENT_ROOT']) && substr($_SERVER['DOCUMENT_ROOT'], -6) !
}
// Include the conf.php and functions.lib.php. This defined the constants like DOL_DOCUMENT_ROOT, DOL_DATA_ROOT, DOL_URL_ROOT...
// Include the conf.php and functions.lib.php and security.lib.php. This defined the constants like DOL_DOCUMENT_ROOT, DOL_DATA_ROOT, DOL_URL_ROOT...
require_once 'filefunc.inc.php';
// If there is a POST parameter to tell to save automatically some POST parameters into cookies, we do it.

View File

@ -32,7 +32,8 @@
* This script reads the conf file, init $lang, $db and and empty $user
*/
// Declaration of variables. May have been already require by main.inc.php. But may not by scripts. So, here the require_once must be kept.
// Include the conf.php and functions.lib.php and security.lib.php. This defined the constants like DOL_DOCUMENT_ROOT, DOL_DATA_ROOT, DOL_URL_ROOT...
// This file may have been already required by main.inc.php. But may not by scripts. So, here the require_once must be kept.
require_once 'filefunc.inc.php';