changeset 64:97c0995df18d

Change check for 'gd' extension.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 01 Mar 2013 04:18:23 +0200
parents 414c64973f0c
children ac95c8028769
files index.php
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Tue Mar 29 15:13:46 2011 +0300
+++ b/index.php	Fri Mar 01 04:18:23 2013 +0200
@@ -8,10 +8,8 @@
 $tick = array_sum(explode(" ", microtime()));
 
 if (!extension_loaded('gd')) {
-   if (!dl('gd.so')) {
-       echo "Could not load extension GD!";
-       exit;
-   }
+   echo "Could not load extension GD!";
+   exit;
 }
 
 $dbModes = array(