Hi all,
We need to hide the “PHP/SQL error messages generated” from our application and there is option to configure this in admin , here it is
Admin > System Preferences > Output and Debugging Preferences
Once it is set to “0” some java scripts in the pages are getting stripped , why this is happened and how we can configure this , Please help us..
this is the stripped script when error display set on from admin:
function isValidEmailAddress(emailAddress) {
var pattern = new RegExp(/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z])$/);
return pattern.test(emailAddress);
}Actual content is something like this :
function isValidEmailAddress(emailAddress) {
var pattern = new RegExp(/^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/);
return pattern.test(emailAddress);
}thanks,
Munawer T