Is there anyway to disable absolute path which appears with php errors.
i.e.
/domain.com/www/user/html/index.php on line 179
I don't want php to show "/domain.com/www/user/html". Only the file name should appear with line number.
Is there anyway to disable absolute path which appears with php errors.
i.e.
/domain.com/www/user/html/index.php on line 179
I don't want php to show "/domain.com/www/user/html". Only the file name should appear with line number.
You could setup a custom error handler to format the messages the way you want. If it's a production box, you probably should not have display_errors on. Use the reporting log files instead.