/*==================================================================*\ # Developer:Aman Jian * Date: 8 jan 2014 # in this file we are overwriting some rule of default ph.ini # ini_set() function is used to set apache config values at rum time also we are showing all the srrors and warning in this file we are setting $_COOKIE globle array by checking php version if php 4 then $HTTP_COOKIE_VARS works and if php 5 then $_COOKIE works \*==================================================================*/ # ---------------------------------------------------------------------------------------------------- # PHP.INI DEFINITIONS # ---------------------------------------------------------------------------------------------------- ini_set("max_execution_time", "3600"); ini_set("memory_limit", "128M"); if(DEVELOPMENT_ENVIROMENT==0) { ini_set("display_errors", 0); # ---------------------------------------------------------------------------------------------------- # ERROR REPORTING # ---------------------------------------------------------------------------------------------------- error_reporting(E_ALL & ~E_NOTICE); # ---------------------------------------------------------------------------------------------------- # FIX BETWEEN PHP VERSIONS # ---------------------------------------------------------------------------------------------------- } else { ini_set("display_errors", 1); # ---------------------------------------------------------------------------------------------------- # ERROR REPORTING # ---------------------------------------------------------------------------------------------------- error_reporting(E_ALL); error_reporting(~E_NOTICE); } if (!isset($_COOKIE)) { $_COOKIE = &$HTTP_COOKIE_VARS; } ini_set("display_errors", "1"); ?>
Product Image | Product Name | # Item Code | Product Description | Remove |
---|---|---|---|---|
No Products in your cart ! |