Ajout d'un wrapper pour les graph du module energie
This commit is contained in:
parent
ba51312550
commit
f68f63bb3d
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -156,6 +156,13 @@ if ($modulepart)
|
||||
$original_file=DOL_DATA_ROOT.'/graph/telephonie/'.$original_file;
|
||||
}
|
||||
|
||||
// Wrapping pour les graph energie
|
||||
if ($modulepart == 'energie')
|
||||
{
|
||||
$accessallowed=1;
|
||||
$original_file=DOL_DATA_ROOT.'/energie/graph/'.$original_file;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Limite accès si droits non corrects
|
||||
|
||||
Loading…
Reference in New Issue
Block a user