Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.
/ dalbum-php7 Public archive

DAlbum modernized to be compatible with PHP 7.

License

Notifications You must be signed in to change notification settings

rimas-kudelis/dalbum-php7

Repository files navigation

DAlbum for PHP 7 and up

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.

Changes

  • 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.

About

DAlbum modernized to be compatible with PHP 7.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published