Scores : move Global Vars
This commit is contained in:
parent
134aef7cdc
commit
d711c48c3b
File diff suppressed because it is too large
Load Diff
@ -606,7 +606,10 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail
|
||||
global $Ra, $Rap, $Rdiff;
|
||||
|
||||
//Définition du nom des variables
|
||||
require_once realpath(dirname(__FILE__)).'/globalCommentaires.php';
|
||||
$GlobalVars = include realpath(dirname(__FILE__)).'/GlobalVars.php';
|
||||
foreach ($GlobalVars as $var) {
|
||||
global $$var;
|
||||
}
|
||||
|
||||
$NIVEAU = $cycleClient; // 1, 2, 3 ou 5 Niveau de version des commentaires
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user