aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-04-21 22:17:06 +0000
committerrub <rub@piwigo.org>2007-04-21 22:17:06 +0000
commit6c888182b977beed4374bfa0dab644281ecc2aaf (patch)
treebba7373c0648b5808b46dd7ac1b99cf01cc1bd0b /tools
parent7c504a555136f2f2810bd3110a3a33fcc329ecfb (diff)
In create_listing_file.php file, re-set $conf['use_exif'] value with same value defined in config_default.inc.php file.
With 1.7, action are done in order to standardize between this 2 files. Reduce line length (<79) git-svn-id: http://piwigo.org/svn/trunk@1968 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--tools/create_listing_file.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/create_listing_file.php b/tools/create_listing_file.php
index 05c789ff6..e13bbe5de 100644
--- a/tools/create_listing_file.php
+++ b/tools/create_listing_file.php
@@ -40,11 +40,16 @@ $conf['gallery'] = 'http://';
// prefix for thumbnails in "thumbnail" sub directories
$conf['prefix_thumbnail'] = 'TN-';
-// $conf['file_ext'] lists all extensions (case insensitive) allowed for your PhpWebGallery installation
-$conf['file_ext'] = array('jpg','JPG','jpeg','JPEG','png','PNG','gif','GIF','mpg','zip', 'avi','mp3','ogg');
+// $conf['file_ext'] lists all extensions (case insensitive) allowed
+// for your PhpWebGallery installation
+$conf['file_ext'] = array('jpg','JPG','jpeg','JPEG',
+ 'png','PNG','gif','GIF','mpg','zip',
+ 'avi','mp3','ogg');
+
// $conf['picture_ext'] must be a subset of $conf['file_ext']
-$conf['picture_ext'] = array('jpg','JPG','jpeg','JPEG','png','PNG','gif','GIF');
+$conf['picture_ext'] = array('jpg','JPG','jpeg','JPEG',
+ 'png','PNG','gif','GIF');
// ****** Time limitation functionality ****** //
// max execution time before refresh in seconds
@@ -55,7 +60,7 @@ $conf['refresh_delay'] = 0;
// ****** EXIF support functionality ****** //
// $conf['use_exif'] set to true if you want to use Exif information
-$conf['use_exif'] = false;
+$conf['use_exif'] = true;
// use_exif_mapping: same behaviour as use_iptc_mapping
$conf['use_exif_mapping'] = array(