Use __DIR__
This commit is contained in:
parent
a5ae94f769
commit
9bb9ad9cc7
@ -638,8 +638,8 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
|
||||
$classWdate = new WDate();
|
||||
|
||||
//Initialisation tabFormules depuis le cache
|
||||
$tabVariables = include realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'Variables/CacheTabVariables.php';
|
||||
$tabFormules = include realpath(dirname(__FILE__)) . DIRECTORY_SEPARATOR . 'Variables/CacheTabFormules.php';
|
||||
$tabVariables = include __DIR__ . '/Variables/CacheTabVariables.php';
|
||||
$tabFormules = include __DIR__ . '/Variables/CacheTabFormules.php';
|
||||
$tabFormulesRatios = array();
|
||||
foreach ($tabFormules as $tmpFormule) {
|
||||
$tabFormulesRatios[$tmpFormule['id']] = $tmpFormule;
|
||||
|
Loading…
x
Reference in New Issue
Block a user