1 | <?php |
---|
2 | /*************************************************************************** |
---|
3 | * config.inc.php * |
---|
4 | * ------------------- * |
---|
5 | * application : PhpWebGallery 1.4 <http://phpwebgallery.net> * |
---|
6 | * author : Pierrick LE GALL <pierrick@z0rglub.com> * |
---|
7 | * * |
---|
8 | * $Id: config.inc.php 351 2004-02-07 11:50:26Z gweltas $ |
---|
9 | * * |
---|
10 | *************************************************************************** |
---|
11 | |
---|
12 | *************************************************************************** |
---|
13 | * * |
---|
14 | * This program is free software; you can redistribute it and/or modify * |
---|
15 | * it under the terms of the GNU General Public License as published by * |
---|
16 | * the Free Software Foundation; * |
---|
17 | * * |
---|
18 | ***************************************************************************/ |
---|
19 | // How to change the order of display for images in a category ? |
---|
20 | // |
---|
21 | // You have to modify $conf['order_by']. |
---|
22 | // There are several fields that can order the display : |
---|
23 | // - date_available : the date of the adding to the gallery |
---|
24 | // - file : the name of the file |
---|
25 | // Once you've chosen which field(s) to use for ordering, |
---|
26 | // you must chose the ascending or descending order for each field. |
---|
27 | // examples : |
---|
28 | // 1. $conf['order_by'] = " order by date_available desc, file asc"; |
---|
29 | // will order pictures by date_available descending & by filename ascending |
---|
30 | // 2. $conf['order_by'] = " order by file asc"; |
---|
31 | // will only order pictures by file ascending |
---|
32 | // without taking into account the date_available |
---|
33 | $conf['order_by'] = ' ORDER BY date_available DESC, file ASC'; |
---|
34 | |
---|
35 | $conf['nb_image_row'] = array(4,5,6,7,8); |
---|
36 | $conf['nb_row_page'] = array(2,3,4,5,6,7,10,20,1000); |
---|
37 | $conf['slideshow_period'] = array(2,5,10); |
---|
38 | $conf['last_days'] = array(1,2,3,10,30,365); |
---|
39 | $conf['version'] = '1.4 - devel'; |
---|
40 | $conf['site_url'] = 'http://www.phpwebgallery.net'; |
---|
41 | $conf['forum_url'] = 'http://forum.phpwebgallery.net'; |
---|
42 | $conf['picture_ext'] = array('jpg','JPG','gif','GIF','png','PNG'); |
---|
43 | $conf['document_ext'] = array('doc','pdf','zip'); |
---|
44 | $conf['top_number'] = 10; |
---|
45 | $conf['anti-flood_time'] = 60; // seconds between 2 comments : 0 to disable |
---|
46 | $conf['max_LOV_categories'] = 50; |
---|
47 | |
---|
48 | $conf['default_lang'] = 'francais'; |
---|
49 | $conf['default_style'] = 'default'; |
---|
50 | |
---|
51 | ?> |
---|