This project is a modernization of DAlbum 1.44 build 177 from http://www.dalbum.org/. It is intended to fix the multiple fatal errors, warnings and notices that are generated when running under PHP 7 and up.
The modernization will not make DAlbum a modern product viable for new albums. It is only meant to allow you to continue running your legacy albums after migrating to more recent versions of PHP.
- Replaced calls to split with explode.
- Replaced calls to ereg and eregi with preg_match.
- Replaced call to preg_replace using deprecated /e modifier with preg_replace_callback.
- Replaced PHP 4 style constructors with
__construct()
. - Removed checking for and handling of magic_quotes.
- Replaced occurrences of curly brace array syntax (
$foo{0}
) with bracket syntax ($foo[0]
). - Removed checks of
$_SERVER['PATH_INFO']
or$_SERVER['ORIG_PATH_INFO']
being set when generating photo.php URLs. GET params will always be used instead. - config.php renamed to config.php.dist
- Transcoded Lithuanian locale file from ISO-8859-13 to UTF-8.