The attached patch replaces eregi with preg_match. This removes the deprecation warning that caused this plug-in to fail on Ubuntu.
Replace eregi with preg_match in unsafe_image_rules
This has nothing to do with ubuntu but is due to php5.3. At least two people use this patch, see mailinglist: https://sourceforge.net/mailarchive/forum.php?thread_name=370d6e1c25d3703931f4ace1b9763b8e.squirrel%40mail.chandia.net&forum_name=squirrelmail-users
Log in to post a comment.
Replace eregi with preg_match in unsafe_image_rules
This has nothing to do with ubuntu but is due to php5.3. At least two people use this patch, see mailinglist:
https://sourceforge.net/mailarchive/forum.php?thread_name=370d6e1c25d3703931f4ace1b9763b8e.squirrel%40mail.chandia.net&forum_name=squirrelmail-users