php Code to analyze – ini_set usage

php Code to Analyze

ini_set usage with “include_path”

[php]
if ( function_to_test($var ) ) ini_set("include_path", "/var/www/vhosts/test.com/httpdocs/moneris");
else ini_set("include_path", "/var/www/vhosts/test.com/httpdocs/moneris");

require "modules/mpgClasses.php";
include "modules/mpiClasses.php";
[/php]