Hi, I'm haveing a Problem with a Warning thrown when trying to add a new ImageGalleryPage.
It's nothing more than a stupid warning, so i tried to disable warnings and set error_reporting to 0. phpinfo() shows me that error reporting is off, but if I am in the Admin Backend, it seems that error reporting gets reactivatet through ini_set function somewhere inside the code.
So is there a static which I can add to my _config.php to deactivate error_reporting when admin user?
Hi, thanks for your replies, but tha actually didn't solved my Problem.
My Problem is described more detailed in the following Post:
I get a PHP Warning on adding a new ImageGalaryPage. The warning is thrown by the rename function, because the directory to renam does not exist. I am logged in as admin to the Silverstripe Backend so, it seems, this is the reason why the Warning is shown instead of just ignoring it. All changes of error_reporting to 0 in php.ini or .htacces didn't switch of warnings when logged in as admin.