From 496c0d3418a0302e4f006c6486829efa29632677 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Thu, 5 Aug 2004 17:37:33 +0000 Subject: non picture files management : add array $conf['file_ext'] git-svn-id: http://piwigo.org/svn/trunk@468 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/config.inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/config.inc.php b/include/config.inc.php index 72211789e..12e33c573 100644 --- a/include/config.inc.php +++ b/include/config.inc.php @@ -48,8 +48,12 @@ $conf['last_days'] = array(1,2,3,10,30,365); $conf['version'] = 'BSF'; $conf['site_url'] = 'http://www.phpwebgallery.net'; $conf['forum_url'] = 'http://forum.phpwebgallery.net'; -$conf['picture_ext'] = array('jpg','JPG','gif','GIF','png','PNG'); -$conf['document_ext'] = array('doc','pdf','zip'); +// $conf['file_ext'] lists all extensions (case insensitive) allowed for +// your PhpWebGallery installation +$conf['file_ext'] = array('jpg','JPG','png','PNG','gif','GIF' + ,'mpg','zip','avi','mp3','ogg'); +// $conf['picture_ext'] must bea subset of $conf['file_ext'] +$conf['picture_ext'] = array('jpg','JPG','png','PNG','gif','GIF'); $conf['top_number'] = 10; $conf['anti-flood_time'] = 60; // seconds between 2 comments : 0 to disable $conf['max_LOV_categories'] = 50; -- cgit v1.2.3