The error in the above file is solved, but there are some more
occurences of the function.
# grep "ereg" * -r
controllers/helpers.php:if (!ereg
("^([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$", $arg))
views/helpers.php:$uri = ereg ( '^http', $url ) ? $url : "$PROTOCOL://".
Public bug reported:
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function
eregi() in /usr/share/phamm/controllers/helpers.php:285
Stack trace:
#0 /usr/share/phamm/public/main.php(251): check_syntax('domain', 'asdasd')
#1 {main}
thrown in /usr/share/phamm/controllers/helpers