My SPGM Picture Gallery

Fatal error: Uncaught Error: Call to undefined function ereg() in /DISK2/WWW/arteee.net/images/spgm.php:450 Stack trace: #0 /DISK2/WWW/arteee.net/images/spgm.php(778): spgm_IsGallery('') #1 /DISK2/WWW/arteee.net/images/spgm.php(1879): spgm_LoadConfig('') #2 /DISK2/WWW/arteee.net/images/index.php(32): require('/DISK2/WWW/arte...') #3 {main} thrown in /DISK2/WWW/arteee.net/images/spgm.php on line 450