I don't even know where to begin. I didn't think why storing executable PHP code in a database is a terrible idea would ever need an explanation. It's a whole can of worms relating to security, stability, debugging and maintainability. Just to give an example, anyone with author/editor rights can execute PHP code. Even Pro version, which offers "Advanced Security Settings", is not secure enough. Furthermore, it's wrong to have any sort of write logic in the presentation layer. It is very likely to fail in some cases, for example, with caching enabled. For your own sake you should take some time to read extension development documentation and migrate your code to a proper extension.
Statistics: Posted by SharkyKZ — Wed May 29, 2024 8:53 am