[Bug 1570968] Re: Call to undefined function eregi()

2016-04-16 Thread brief
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://".

[Bug 1570968] [NEW] Call to undefined function eregi()

2016-04-15 Thread brief
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