aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2007-09-26 08:42:25 +0000
committerjimmacfx <jimmacfx@4fa712ea-3c06-0410-9261-c11b4c06c003>2007-09-26 08:42:25 +0000
commit901a53ccf7ee61a26c261b023575de3813845565 (patch)
tree365797d810ecf188e12b7cc60936477ca7ec4a08
parenta7d2468194e49eec27f76b6915cc0cbff634a76f (diff)
downloadoriginal-901a53ccf7ee61a26c261b023575de3813845565.tar.gz
original-901a53ccf7ee61a26c261b023575de3813845565.tar.bz2
make exif configurable again
git-svn-id: https://forgesvn1.novell.com/svn/original/trunk@23 4fa712ea-3c06-0410-9261-c11b4c06c003
-rw-r--r--www/inc/config.inc.php2
-rw-r--r--www/index.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/www/inc/config.inc.php b/www/inc/config.inc.php
index 14e8ad8..3162a36 100644
--- a/www/inc/config.inc.php
+++ b/www/inc/config.inc.php
@@ -44,6 +44,8 @@ $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 894ba99..49f60f5 100644
--- a/www/index.php
+++ b/www/index.php
@@ -375,7 +375,7 @@ if (!$galerie) {
- require("$root/inc/exif.inc.php");
+ if ($exif) require("$root/inc/exif.inc.php");
/* Image comment
really poor naming here, it is caption.
*/