diff options
author | jimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003> | 2007-09-26 08:45:39 +0000 |
---|---|---|
committer | jimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003> | 2007-09-26 08:45:39 +0000 |
commit | 03de6c7ca479051eb83bed798825b453aae9b697 (patch) | |
tree | a0029f55969a9963d782a53580e927e8c57b6a2f | |
parent | 901a53ccf7ee61a26c261b023575de3813845565 (diff) | |
download | original-03de6c7ca479051eb83bed798825b453aae9b697.tar.gz original-03de6c7ca479051eb83bed798825b453aae9b697.tar.bz2 |
duh. actually make it smart about exif support
git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@24 4fa712ea-3c06-0410-9261-c11b4c06c003
-rw-r--r-- | www/inc/config.inc.php | 2 | ||||
-rw-r--r-- | www/index.php | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/www/inc/config.inc.php b/www/inc/config.inc.php index 3162a36..14e8ad8 100644 --- a/www/inc/config.inc.php +++ b/www/inc/config.inc.php @@ -44,8 +44,6 @@ $scnamegallery = "Photo Gallery Index"; // initialy not as lovely $app["url"] = "http://jimmac.musichall.cz/original.php3"; $app["version"] = "0.12pre"; - // unset if you don't have EXIF in your PHP - $exif = 1; $exif_show = array("DateTime"=>__("Time Taken"), "Make"=>__("Camera Manufacturer"), "Model"=>__("Camera Model"), diff --git a/www/index.php b/www/index.php index 49f60f5..92b3a3f 100644 --- a/www/index.php +++ b/www/index.php @@ -375,7 +375,7 @@ if (!$galerie) { - if ($exif) require("$root/inc/exif.inc.php"); + if (function_exists(exif_read_data)) require("$root/inc/exif.inc.php"); /* Image comment really poor naming here, it is caption. */ |