Please sign in to comment.
CKE editor Fix (mysql_real_excape_string, require->require_once)
I did not remove WB Classic compatibility. https://forum.wbce.org/viewtopic.php?pid=8295#p8295 The code used mysql_real_escape_string() that will fail inf the server has no mysql module installed. Many servers only support mysqli and PDO. Another issue is that WBCE has an autoloader so all core classes are available as soon as you required config.php. If you try to require class admin that is already loaded at this point the code may fail because of double declaration. So please use require _once.
- Loading branch information...
Showing with 8 additions and 7 deletions.