mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Code comment
This commit is contained in:
parent
b7aa152464
commit
5881e36ba6
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user