Update index.php

This commit is contained in:
UT from dolibit 2022-08-29 18:55:02 +02:00 committed by GitHub
parent 28797930fc
commit a8d480ee2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,8 @@
* \brief Main page of accountancy area
*/
// Load Dolibarr environment
require '../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
@ -54,6 +56,7 @@ if (!empty($conf->commande->enabled)) {
$langs->load("orders");
}
// Get parameters
$action = GETPOST('action', 'aZ09');
$bid = GETPOST('bid', 'int');