PHP error handling security |
(12-20-2015, 02:41 AM)acemary Wrote: Hello There! I found a solution for you, This solution is not pre-defined by php. I write some custom code in Exceptions.php, and i found this problem is gone, may be this will help you. 1. First you need to open system/core/Exceptions.php 2. In here you find a function called "show_php_error". 3. You need to put some line of code in top of the function. Code: if( strpos($message, 'called in') ){ $server = str_replace(array( '/', '\\' ), array( '\\', '\\' ), $_SERVER[ 'DOCUMENT_ROOT' ]); $message = str_replace($server, '', $message); } Your problem will solve. Reply me in my email if your problem is solved. [email protected] |
Messages In This Thread |
PHP error handling security - by Diederik Van Hoorebeke - 11-13-2015, 07:31 AM
RE: PHP error handling security - by Narf - 11-13-2015, 11:35 AM
RE: PHP error handling security - by kenjis - 11-13-2015, 03:32 PM
RE: PHP error handling security - by acemary - 12-20-2015, 02:41 AM
RE: PHP error handling security - by dibyendudas - 12-20-2015, 08:59 AM
RE: PHP error handling security - by InsiteFX - 12-21-2015, 01:43 PM
RE: PHP error handling security - by amargow - 09-12-2018, 12:09 AM
|