View Single Post
  #4  
Old 01-26-2005, 10:53 PM
 
Ginestra Ginestra is offline
 

Advanced Member
  
Join Date: Sep 2003
Posts: 81
 

Default

No, you don't need that second line, just:


define('USE_TRUSTED_SCRIPT_VARS',1);

So, you'll end up with:

define('USE_TRUSTED_POST_VARIABLES',1);
$trusted_post_variables = array("product_lng_descr","product_lng_full_descr" ,"product_new_descr","product_new_full_descr","des cr","fulldescr","posted_data","js_code","javascrip t_code");
define('USE_TRUSTED_SCRIPT_VARS',1);

X-Cart is just looking for the variable to be defined, so it would seem, you don't have to then specify the string.
Reply With Quote