source: trunk/include/config.inc.php @ 363

Last change on this file since 363 was 363, checked in by z0rglub, 20 years ago

change version to BSF

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1<?php
2// +-----------------------------------------------------------------------+
3// |                            config.inc.php                             |
4// +-----------------------------------------------------------------------+
5// | application   : PhpWebGallery <http://phpwebgallery.net>              |
6// | branch        : BSF (Best So Far)                                     |
7// +-----------------------------------------------------------------------+
8// | file          : $RCSfile$
9// | last update   : $Date: 2004-02-12 23:25:05 +0000 (Thu, 12 Feb 2004) $
10// | last modifier : $Author: z0rglub $
11// | revision      : $Revision: 363 $
12// +-----------------------------------------------------------------------+
13// | This program is free software; you can redistribute it and/or modify  |
14// | it under the terms of the GNU General Public License as published by  |
15// | the Free Software Foundation                                          |
16// |                                                                       |
17// | This program is distributed in the hope that it will be useful, but   |
18// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
19// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
20// | General Public License for more details.                              |
21// |                                                                       |
22// | You should have received a copy of the GNU General Public License     |
23// | along with this program; if not, write to the Free Software           |
24// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
25// | USA.                                                                  |
26// +-----------------------------------------------------------------------+
27
28// How to change the order of display for images in a category ?
29//
30// You have to modify $conf['order_by'].
31// There are several fields that can order the display :
32//  - date_available : the date of the adding to the gallery
33//  - file : the name of the file
34// Once you've chosen which field(s) to use for ordering,
35// you must chose the ascending or descending order for each field.
36// examples :
37// 1. $conf['order_by'] = " order by date_available desc, file asc";
38//    will order pictures by date_available descending & by filename ascending
39// 2. $conf['order_by'] = " order by file asc";
40//    will only order pictures by file ascending
41//    without taking into account the date_available
42$conf['order_by'] = ' ORDER BY date_available DESC, file ASC';
43
44$conf['nb_image_row']       = array(4,5,6,7,8);
45$conf['nb_row_page']        = array(2,3,4,5,6,7,10,20,1000);
46$conf['slideshow_period']   = array(2,5,10);
47$conf['last_days']          = array(1,2,3,10,30,365);
48$conf['version']            = 'BSF';
49$conf['site_url']           = 'http://www.phpwebgallery.net';
50$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');
53$conf['top_number']         = 10;
54$conf['anti-flood_time']    = 60; // seconds between 2 comments : 0 to disable
55$conf['max_LOV_categories'] = 50;
56
57$conf['default_lang'] = 'francais';
58$conf['default_style'] = 'default';
59
60?>
Note: See TracBrowser for help on using the repository browser.