Init_set is disabled for security reasons
3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 5, 2014 (RSS)
By gversion - January 4, 2014
Hello,
I have been advised by the CSF firewall in WHM to disable init_set for security reasons. Having done this I now receive an error message:
Warning: ini_set() has been disabled for security reasons in/home/public_html/cmsAdmin/lib/init.php on line 5
Do I need to re-enable init_set in order for cms holder to work correctly or is there any way I can keep init_set disabled and stop this error message from displaying.
Thank you,
Greg
By jenolan - January 5, 2014 - edited: January 5, 2014
Short answer is that you need to re-enable it.
Long answer is that cmsBuilder sets various options to stop error/warnings and other oops and it is not really all that easy to remove all of the ini_set() calls. My advice would be to get the exploit scanner and use that if you have any other third party software on your site, if you only use cmsBuilder just ignore the firewall .. generic advice sometimes is not good advice.
Peace and Long Life
Ini_set is disabled for security reasons
By gversion - January 5, 2014
Great, thanks for this information, I appreciate the advice. I have re-enabled it and will simply ignore the warning message in the firewall.
Regards,
Greg