dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab077bc
)
Disable EXIF display if the PHP EXIF module isn't available.
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 22 Apr 2005 01:59:36 +0000
(
01:59
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 22 Apr 2005 01:59:36 +0000
(
01:59
+0000)
includes/DefaultSettings.php
patch
|
blob
|
history
diff --git
a/includes/DefaultSettings.php
b/includes/DefaultSettings.php
index
626a64b
..
4cd8bc9
100644
(file)
--- a/
includes/DefaultSettings.php
+++ b/
includes/DefaultSettings.php
@@
-733,8
+733,12
@@
$wgDisableTextSearch = false;
$wgDisableSearchUpdate = false;
/** Uploads have to be specially set up to be secure */
$wgEnableUploads = false;
$wgDisableSearchUpdate = false;
/** Uploads have to be specially set up to be secure */
$wgEnableUploads = false;
-/** Show EXIF data, on by default */
-$wgShowEXIF = true ;
+/**
+ * Show EXIF data, on by default if available.
+ * Requires PHP's EXIF extension: http://www.php.net/manual/en/ref.exif.php
+ */
+$wgShowEXIF = function_exists( 'exif_read_data' );
+
/**
* Set to true to enable the upload _link_ while local uploads are disabled.
* Assumes that the special page link will be bounced to another server where
/**
* Set to true to enable the upload _link_ while local uploads are disabled.
* Assumes that the special page link will be bounced to another server where