diff --git a/lam/templates/login.php b/lam/templates/login.php index 8a079ea2..a4a13146 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -71,6 +71,10 @@ if (! function_exists('gettext') || !function_exists('_')) { if (! function_exists('utf8_decode')) { $criticalErrors[] = array("ERROR", "Your PHP has no XML support!", "Please install the XML extension for PHP."); } +// check if PHP has GD support +if (! function_exists('getimagesize')) { + $criticalErrors[] = array("ERROR", "Your PHP has no GD support!", "Please install the GD extension for PHP."); +} // check file permissions $writableDirs = array('sess', 'tmp'); for ($i = 0; $i < sizeof($writableDirs); $i++) {