Changeset 468


Ignore:
Timestamp:
Aug 5, 2004, 7:37:33 PM (20 years ago)
Author:
z0rglub
Message:

non picture files management : add array $conffile_ext

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config.inc.php

    r398 r468  
    4949$conf['site_url']           = 'http://www.phpwebgallery.net';
    5050$conf['forum_url']          = 'http://forum.phpwebgallery.net';
    51 $conf['picture_ext']        = array('jpg','JPG','gif','GIF','png','PNG');
    52 $conf['document_ext']       = array('doc','pdf','zip');
     51// $conf['file_ext'] lists all extensions (case insensitive) allowed for
     52// your PhpWebGallery installation
     53$conf['file_ext']           = array('jpg','JPG','png','PNG','gif','GIF'
     54                                    ,'mpg','zip','avi','mp3','ogg');
     55// $conf['picture_ext'] must bea subset of $conf['file_ext']
     56$conf['picture_ext']        = array('jpg','JPG','png','PNG','gif','GIF');
    5357$conf['top_number']         = 10;
    5458$conf['anti-flood_time']    = 60; // seconds between 2 comments : 0 to disable
Note: See TracChangeset for help on using the changeset viewer.