diff options
author | z0rglub <z0rglub@piwigo.org> | 2004-08-05 17:37:33 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2004-08-05 17:37:33 +0000 |
commit | 496c0d3418a0302e4f006c6486829efa29632677 (patch) | |
tree | ab7952328cc20479c5b4aaa2a126e57a17ec46ac /include/config.inc.php | |
parent | 74bc00f9f70bb3a00059b712acd5a8196f17a1fb (diff) |
non picture files management : add array $conf['file_ext']
git-svn-id: http://piwigo.org/svn/trunk@468 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/config.inc.php | 8 |
1 files changed, 6 insertions, 2 deletions
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; |