Tom S. Posted January 12, 2020 Share Posted January 12, 2020 Somewhere in my code I use the PHP function `exec()`. When I put the software in dev mode it gives me this error: Quote You have used a forbidden function How can I disabled this error/warning for this specific function? Or disable this check altogether? Link to comment Share on other sites More sharing options...
Fosters Posted January 12, 2020 Share Posted January 12, 2020 8 hours ago, Tom S. said: Somewhere in my code I use the PHP function `exec()`. When I put the software in dev mode it gives me this error: How can I disabled this error/warning for this specific function? Or disable this check altogether? Disable the strict mode by adding define( 'IN_DEV_STRICT_MODE', FALSE ); to your constants file:) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.