Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Replace eval with constant in getConfInst
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
  • Loading branch information
Etienne CHAMPETIER committed Apr 23, 2014
1 parent c9c21a4 commit 05b2736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/core/classes/class.ConfService.php
Expand Up @@ -984,7 +984,7 @@ public function getConfInst($varName)
return $this->configs[$varName];
}
if (defined("AJXP_".$varName)) {
return eval("return AJXP_".$varName.";");
return constant("AJXP_".$varName);
}
return null;
}
Expand Down

0 comments on commit 05b2736

Please sign in to comment.