mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
New: Add statistics page for trips and expenses module
This commit is contained in:
@@ -1788,7 +1788,13 @@ function restrictedArea($user, $features='societe', $objectid=0, $dbtablename=''
|
||||
*/
|
||||
function accessforbidden($message='',$printheader=1,$printfooter=1,$showonlymessage=0)
|
||||
{
|
||||
global $user, $langs;
|
||||
global $conf, $db, $user, $langs;
|
||||
if (! is_object($langs))
|
||||
{
|
||||
include_once(DOL_DOCUMENT_ROOT.'/translate.class.php');
|
||||
$langs=new Translate('',$conf);
|
||||
}
|
||||
|
||||
$langs->load("other");
|
||||
|
||||
if ($printheader)
|
||||
|
||||
Reference in New Issue
Block a user