source: trunk/include/config_default.inc.php @ 2297

Last change on this file since 2297 was 2297, checked in by plg, 16 years ago

Modification: new header on PHP files, PhpWebGallery renamed Piwigo.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 29.9 KB
Line 
1<?php
2// +-----------------------------------------------------------------------+
3// | Piwigo - a PHP based picture gallery                                  |
4// +-----------------------------------------------------------------------+
5// | Copyright(C) 2008      Piwigo Team                  http://piwigo.org |
6// | Copyright(C) 2003-2008 PhpWebGallery Team    http://phpwebgallery.net |
7// | Copyright(C) 2002-2003 Pierrick LE GALL   http://le-gall.net/pierrick |
8// +-----------------------------------------------------------------------+
9// | This program is free software; you can redistribute it and/or modify  |
10// | it under the terms of the GNU General Public License as published by  |
11// | the Free Software Foundation                                          |
12// |                                                                       |
13// | This program is distributed in the hope that it will be useful, but   |
14// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
15// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
16// | General Public License for more details.                              |
17// |                                                                       |
18// | You should have received a copy of the GNU General Public License     |
19// | along with this program; if not, write to the Free Software           |
20// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
21// | USA.                                                                  |
22// +-----------------------------------------------------------------------+
23// +-----------------------------------------------------------------------+
24// | PhpWebGallery - a PHP based picture gallery                           |
25// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
26// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net |
27// +-----------------------------------------------------------------------+
28// | file          : $Id: config_default.inc.php 2297 2008-04-04 22:57:23Z plg $
29// | last update   : $Date: 2008-04-04 22:57:23 +0000 (Fri, 04 Apr 2008) $
30// | last modifier : $Author: plg $
31// | revision      : $Revision: 2297 $
32// +-----------------------------------------------------------------------+
33// | This program is free software; you can redistribute it and/or modify  |
34// | it under the terms of the GNU General Public License as published by  |
35// | the Free Software Foundation                                          |
36// |                                                                       |
37// | This program is distributed in the hope that it will be useful, but   |
38// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
39// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
40// | General Public License for more details.                              |
41// |                                                                       |
42// | You should have received a copy of the GNU General Public License     |
43// | along with this program; if not, write to the Free Software           |
44// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
45// | USA.                                                                  |
46// +-----------------------------------------------------------------------+
47
48/**
49 *                           configuration page
50 *
51 * Set configuration parameters that are not in the table config. In the
52 * application, configuration parameters are considered in the same way
53 * coming from config table or config_default.inc.php.
54 *
55 * It is recommended to let config_default.inc.php as provided and to
56 * overwrite configuration in your local configuration file
57 * config_local.inc.php. See tools/config_local.inc.php as an example.
58 *
59 * Why having some parameters in config table and others in
60 * config_*.inc.php? Modifying config_*.inc.php is a "hard" task for low
61 * skilled users, they need a GUI for this : admin/configuration. But only
62 * parameters that might be modified by low skilled users are in config
63 * table, other parameters are in config_*.inc.php
64 */
65
66// +-----------------------------------------------------------------------+
67// |                                 misc                                  |
68// +-----------------------------------------------------------------------+
69
70// order_by : how to change the order of display for images in a category ?
71//
72// There are several fields that can order the display :
73//
74//  - date_available : the date of the adding to the gallery
75//  - file : the name of the file
76//  - id : element identifier
77//  - date_creation : date of element creation
78//
79// Once you've chosen which field(s) to use for ordering, you must chose the
80// ascending or descending order for each field.  examples :
81//
82// 1. $conf['order_by'] = " order by date_available desc, file asc";
83//    will order pictures by date_available descending & by filename ascending
84//
85// 2. $conf['order_by'] = " order by file asc";
86//    will only order pictures by file ascending without taking into account
87//    the date_available
88$conf['order_by'] = ' ORDER BY date_available DESC, file ASC, id ASC';
89
90// file_ext : file extensions (case sensitive) authorized
91$conf['file_ext'] = array('jpg','JPG','jpeg','JPEG',
92                          'png','PNG','gif','GIF','mpg','zip',
93                          'avi','mp3','ogg');
94
95// picture_ext : file extensions for picture file, must be a subset of
96// file_ext
97$conf['picture_ext'] = array('jpg','JPG','jpeg','JPEG',
98                             'png','PNG','gif','GIF');
99
100// top_number : number of element to display for "best rated" and "most
101// visited" categories
102$conf['top_number'] = 15;
103
104// anti-flood_time : number of seconds between 2 comments : 0 to disable
105$conf['anti-flood_time'] = 60;
106
107// qualified spam comments are not registered (false will register them
108// but they will require admin validation)
109$conf['comment_spam_reject'] = true;
110
111// maximum number of links in a comment before it is qualified spam
112$conf['comment_spam_max_links'] = 3;
113
114// calendar_datefield : date field of table "images" used for calendar
115// catgory
116$conf['calendar_datefield'] = 'date_creation';
117
118// calendar_show_any : the calendar shows an aditional 'any' button in the
119// year/month/week/day navigation bars
120$conf['calendar_show_any'] = true;
121
122// calendar_show_empty : the calendar shows month/weeks/days even if there are
123//no elements for these
124$conf['calendar_show_empty'] = true;
125
126// calendar_month_cell_width, calendar_month_cell_height : define the
127// width and the height of a cell in the monthly calendar when viewing a
128// given month. a value of 0 means that the pretty view is not shown.
129// a good suggestion would be to have the width and the height equal
130// and smaller than tn_width and tn_height.
131$conf['calendar_month_cell_width'] =80;
132$conf['calendar_month_cell_height']=80;
133
134// newcat_default_commentable : at creation, must a category be commentable
135// or not ?
136$conf['newcat_default_commentable'] = true;
137
138// newcat_default_uploadable : at creation, must a category be uploadable or
139// not ?
140$conf['newcat_default_uploadable'] = false;
141
142// newcat_default_visible : at creation, must a category be visible or not ?
143// Warning : if the parent category is invisible, the category is
144// automatically create invisible. (invisible = locked)
145$conf['newcat_default_visible'] = true;
146
147// newcat_default_status : at creation, must a category be public or private
148// ? Warning : if the parent category is private, the category is
149// automatically create private.
150$conf['newcat_default_status'] = 'public';
151
152// level_separator : character string used for separating a category level
153// to the sub level. Suggestions : ' / ', ' &raquo; ', ' &rarr; ', ' - ',
154// ' &gt;'
155$conf['level_separator'] = ' / ';
156
157// paginate_pages_around : on paginate navigation bar, how many pages
158// display before and after the current page ?
159$conf['paginate_pages_around'] = 2;
160
161// tn_width : default width for thumbnails creation
162$conf['tn_width'] = 128;
163
164// tn_height : default height for thumbnails creation
165$conf['tn_height'] = 128;
166
167// show_version : shall the version of PhpWebGallery be displayed at the
168// bottom of each page ?
169$conf['show_version'] = true;
170
171
172// links : list of external links to add in the menu. An example is the best
173// than a long explanation :
174//
175// Simple use:
176//  for each link is associated a label
177//  $conf['links'] = array(
178//    'http://phpwebgallery.net' => 'PWG website',
179//    'http://forum.phpwebgallery.net' => 'PWG forum',
180//    'http://phpwebgallery.net/doc' => 'PWG wiki'
181//    );
182//
183// Advenced use:
184//  You can also used special options. Instead to pass a string like parameter value
185//  you can pass a array with different optional parameter values
186//  $conf['links'] = array(
187//    'http://phpwebgallery.net' => array('label' => 'PWG website', 'new_window' => false, 'eval_visible' => 'return true;'),
188//    'http://forum.phpwebgallery.net' => array('label' => 'For ADMIN', 'new_window' => true, 'eval_visible' => 'return is_admin();'),
189//    'http://phpwebgallery.net/doc' => array('label' => 'For Guest', 'new_window' => true, 'eval_visible' => 'return is_a_guest();'),
190//    'http://download.gna.org/phpwebgallery/' =>
191//      array('label' => 'PopUp', 'new_window' => true,
192//      'nw_name' => 'PopUp', 'nw_features' => 'width=800,height=450,location=no,status=no,toolbar=no,scrollbars=no,menubar=no'),
193//    );
194// Parameters:
195//  'label':
196//    Label to display for the link, must be defined
197//  'new_window':
198//    If true open link on tab/window
199//    [Default value is true if it's not defined]
200//  'nw_name':
201//    Name use when new_window is true
202//    [Default value is '' if it's not defined]
203//  'nw_features':
204//    features use when new_window is true
205//    [Default value is '' if it's not defined]
206//  'eval_visible':
207//    It's php code witch must return if the link is visible or not
208//    [Default value is true if it's not defined]
209//
210// Equivalence:
211//  $conf['links'] = array(
212//    'http://phpwebgallery.net' => 'PWG website',
213//    );
214//  $conf['links'] = array(
215//    'http://phpwebgallery.net' => array('label' => 'PWG website', 'new_window' => false, 'visible' => 'return true;'),
216//    );
217//
218// If the array is empty, the "Links" box won't be displayed on the main
219// page.
220$conf['links'] = array();
221
222// random_index_redirect: list of 'internal' links to use when no section is defined on index.php.
223// An example is the best than a long explanation :
224//
225//  for each link is associated a php condition
226//  '' condition is equivalent to 'return true;'
227//  $conf['random_index_redirect'] = array(
228//    PHPWG_ROOT_PATH.'index.php?/best_rated' => 'return true;',
229//    PHPWG_ROOT_PATH.'index.php?/recent_pics' => 'return is_a_guest();',
230//    PHPWG_ROOT_PATH.'random.php' => '',
231//    PHPWG_ROOT_PATH.'index.php?/categories' => '',
232//    );
233$conf['random_index_redirect'] = array();
234
235// List of notes to display on all header page
236// example $conf['header_notes']  = array('Test', 'Hello');
237$conf['header_notes']  = array();
238
239// show_thumbnail_caption : on thumbnails page, show thumbnail captions ?
240$conf['show_thumbnail_caption'] = true;
241
242// show_picture_name_on_title : on picture presentation page, show picture
243// name ?
244$conf['show_picture_name_on_title'] = true;
245
246// display_fromto: in subcatify mode, display the date creation bounds of a
247// category.
248$conf['display_fromto'] = false;
249
250// allow_random_representative : do you wish PhpWebGallery to search among
251// categories elements a new representative at each reload ?
252//
253// If false, an element is randomly or manually chosen to represent its
254// category and remains the representative as long as an admin does not
255// change it.
256//
257// Warning : setting this parameter to true is CPU consuming. Each time you
258// change the value of this parameter from false to true, an administrator
259// must update categories informations in screen [Admin > General >
260// Maintenance].
261$conf['allow_random_representative'] = false;
262
263// allow_html_descriptions : authorize administrators to use HTML in
264// category and element description.
265$conf['allow_html_descriptions'] = true;
266
267// prefix_thumbnail : string before filename. Thumbnail's prefix must only
268// contain characters among : a to z (case insensitive), "-" or "_".
269$conf['prefix_thumbnail'] = 'TN-';
270
271// users_page: how many users to display in screen
272// Administration>Identification>Users?
273$conf['users_page'] = 20;
274
275// image level permissions available in the admin interface
276$conf['available_permission_levels'] = array(0,1,2,4,8);
277
278// mail_options: only set it true if you have a send mail warning with
279// "options" parameter missing on mail() function execution.
280$conf['mail_options'] = false;
281
282// send_bcc_mail_webmaster: send bcc mail to webmaster. Set true for debug
283// or test.
284$conf['send_bcc_mail_webmaster'] = false;
285
286// default_email_format:
287//  Define the default email format use to send email
288//  Value could be text/plain  or text/html
289$conf['default_email_format'] = 'text/html';
290
291// define the name of sender mail:
292// If value is empty, gallery title is used
293$conf['mail_sender_name'] = '';
294
295// smtp configuration
296// (work if fsockopen function is allowed for smtp port)
297// smtp_host: smtp server host
298//  if null, regular mail function is used
299//   format: hoststring[:port]
300//   exemple: smtp.pwg.net:21
301// smtp_user/smtp_password: user & password for smtp identication
302$conf['smtp_host'] = '';
303$conf['smtp_user'] = '';
304$conf['smtp_password'] = '';
305
306
307// check_upgrade_feed: check if there are database upgrade required. Set to
308// true, a message will strongly encourage you to upgrade your database if
309// needed.
310//
311// This configuration parameter is set to true in BSF branch and to false
312// elsewhere.
313$conf['check_upgrade_feed'] = true;
314
315// rate_items: available rates for a picture
316$conf['rate_items'] = array(0,1,2,3,4,5);
317
318// Define default method to use ('http' or 'html' in order to do redirect)
319$conf['default_redirect_method'] = 'http';
320
321// +-----------------------------------------------------------------------+
322// |                               metadata                                |
323// +-----------------------------------------------------------------------+
324
325// show_iptc: Show IPTC metadata on picture.php if asked by user
326$conf['show_iptc'] = false;
327
328// show_iptc_mapping : is used for showing IPTC metadata on picture.php
329// page. For each key of the array, you need to have the same key in the
330// $lang array. For example, if my first key is 'iptc_keywords' (associated
331// to '2#025') then you need to have $lang['iptc_keywords'] set in
332// language/$user['language']/common.lang.php. If you don't have the lang
333// var set, the key will be simply displayed
334//
335// To know how to associated iptc_field with their meaning, use
336// tools/metadata.php
337$conf['show_iptc_mapping'] = array(
338  'iptc_keywords'        => '2#025',
339  'iptc_caption_writer'  => '2#122',
340  'iptc_byline_title'    => '2#085',
341  'iptc_caption'         => '2#120'
342  );
343
344// use_iptc: Use IPTC data during database synchronization with files
345// metadata
346$conf['use_iptc'] = false;
347
348// use_iptc_mapping : in which IPTC fields will PhpWebGallery find image
349// information ? This setting is used during metadata synchronisation. It
350// associates a phpwebgallery_images column name to a IPTC key
351$conf['use_iptc_mapping'] = array(
352  'keywords'        => '2#025',
353  'date_creation'   => '2#055',
354  'author'          => '2#122',
355  'name'            => '2#005',
356  'comment'         => '2#120'
357  );
358
359// show_exif: Show EXIF metadata on picture.php (table or line presentation
360// avalaible)
361$conf['show_exif'] = true;
362
363// show_exif_fields : in EXIF fields, you can choose to display fields in
364// sub-arrays, for example ['COMPUTED']['ApertureFNumber']. for this, add
365// 'COMPUTED;ApertureFNumber' in $conf['show_exif_fields']
366//
367// The key displayed in picture.php will be $lang['exif_field_Make'] for
368// example and if it exists. For compound fields, only take into account the
369// last part : for key 'COMPUTED;ApertureFNumber', you need
370// $lang['exif_field_ApertureFNumber']
371//
372// for PHP version newer than 4.1.2 :
373// $conf['show_exif_fields'] = array('CameraMake','CameraModel','DateTime');
374//
375$conf['show_exif_fields'] = array(
376  'Make',
377  'Model',
378  'DateTimeOriginal',
379  'COMPUTED;ApertureFNumber'
380  );
381
382// use_exif: Use EXIF data during database synchronization with files
383// metadata
384$conf['use_exif'] = true;
385
386// use_exif_mapping: same behaviour as use_iptc_mapping
387$conf['use_exif_mapping'] = array(
388  'date_creation' => 'DateTimeOriginal'
389  );
390
391// +-----------------------------------------------------------------------+
392// |                               sessions                                |
393// +-----------------------------------------------------------------------+
394
395// session_use_cookies: specifies to use cookie to store
396// the session id on client side
397$conf['session_use_cookies'] = true;
398
399// session_use_only_cookies: specifies to only use cookie to store
400// the session id on client side
401$conf['session_use_only_cookies'] = true;
402
403// session_use_trans_sid: do not use transparent session id support
404$conf['session_use_trans_sid'] = false;
405
406// session_name: specifies the name of the session which is used as cookie name
407$conf['session_name'] = 'pwg_id';
408
409// session_save_handler: comment the line below
410// to use file handler for sessions.
411$conf['session_save_handler'] = 'db';
412
413// authorize_remembering : permits user to stay logged for a long time. It
414// creates a cookie on client side.
415$conf['authorize_remembering'] = true;
416
417// remember_me_name: specifies the name of the cookie used to stay logged
418$conf['remember_me_name'] = 'pwg_remember';
419
420// remember_me_length : time of validity for "remember me" cookies, in
421// seconds.
422$conf['remember_me_length'] = 5184000;
423
424// session_length : time of validity for normal session, in seconds.
425$conf['session_length'] = 3600;
426
427// +-----------------------------------------------------------------------+
428// |                                debug                                  |
429// +-----------------------------------------------------------------------+
430
431// show_queries : for debug purpose, show queries and execution times
432$conf['show_queries'] = false;
433
434// show_gt : display generation time at the bottom of each page
435$conf['show_gt'] = true;
436
437// debug_l10n : display a warning message each time an unset language key is
438// accessed
439$conf['debug_l10n'] = false;
440
441// activate template debugging - a new window will appear
442$conf['debug_template'] = false;
443
444// die_on_sql_error: if an SQL query fails, should everything stop?
445$conf['die_on_sql_error'] = true;
446
447// +-----------------------------------------------------------------------+
448// |                            authentication                             |
449// +-----------------------------------------------------------------------+
450
451// apache_authentication : use Apache authentication as reference instead of
452// users table ?
453$conf['apache_authentication'] = false;
454
455// users_table: which table is the reference for users? Can be a different
456// table than PhpWebGallery table
457//
458// If you decide to use another table than the default one, you need to
459// prepare your database by deleting some datas :
460//
461// delete from phpwebgallery_user_access;
462// delete from phpwebgallery_user_cache;
463// delete from phpwebgallery_user_feed;
464// delete from phpwebgallery_user_group;
465// delete from phpwebgallery_user_infos;
466// delete from phpwebgallery_sessions;
467// delete from phpwebgallery_rate;
468// update phpwebgallery_images set average_rate = NULL;
469// delete from phpwebgallery_caddie;
470// delete from phpwebgallery_favorites;
471//
472// All informations contained in these tables and column are related to
473// phpwebgallery_users table.
474$conf['users_table'] = $prefixeTable.'users';
475
476// Other tables can be changed, if you define associated constants
477// Example:
478//   define('USER_INFOS_TABLE', 'pwg_main'.'user_infos');
479
480
481// user_fields : mapping between generic field names and table specific
482// field names. For example, in PWG, the mail address is names
483// "mail_address" and in punbb, it's called "email".
484$conf['user_fields'] = array(
485  'id' => 'id',
486  'username' => 'username',
487  'password' => 'password',
488  'email' => 'mail_address'
489  );
490
491// pass_convert : function to crypt or hash the clear user password to store
492// it in the database
493$conf['pass_convert'] = create_function('$s', 'return md5($s);');
494
495// guest_id : id of the anonymous user
496$conf['guest_id'] = 2;
497// default_user_id : id of user used for default value
498$conf['default_user_id'] = $conf['guest_id'];
499
500// webmaster_id : webmaster'id.
501$conf['webmaster_id'] = 1;
502
503// allow to use adviser mode
504$conf['allow_adviser'] = false;
505
506// does the guest have access ?
507// (not a security feature, set your categories "private" too)
508// If false it'll be redirected from index.php to identification.php
509$conf['guest_access'] = true;
510
511// +-----------------------------------------------------------------------+
512// |                                upload                                 |
513// +-----------------------------------------------------------------------+
514
515// upload_maxfilesize: maximum filesize for the uploaded pictures. In
516// kilobytes.
517$conf['upload_maxfilesize'] = 200;
518
519// upload_maxheight: maximum height authorized for the uploaded images. In
520// pixels.
521$conf['upload_maxheight'] = 800;
522
523// upload_maxwidth: maximum width authorized for the uploaded images. In
524// pixels.
525$conf['upload_maxwidth'] = 800;
526
527// upload_maxheight_thumbnail: maximum height authorized for the uploaded
528// thumbnails
529$conf['upload_maxheight_thumbnail'] = 128;
530
531// upload_maxwidth_thumbnail: maximum width authorized for the uploaded
532// thumbnails
533$conf['upload_maxwidth_thumbnail'] = 128;
534
535// +-----------------------------------------------------------------------+
536// |                               history                                 |
537// +-----------------------------------------------------------------------+
538
539// nb_logs_page :  how many logs to display on a page
540$conf['nb_logs_page'] = 300;
541
542// +-----------------------------------------------------------------------+
543// |                                 urls                                  |
544// +-----------------------------------------------------------------------+
545
546// question_mark_in_urls : the generated urls contain a ? sign. This can be
547// changed to false only if the server translates PATH_INFO variable
548// (depends on the server AcceptPathInfo directive configuration)
549$conf['question_mark_in_urls'] = true;
550
551// php_extension_in_urls : if true, the urls generated for picture and
552// category will not contain the .php extension. This will work only if
553// .htaccess defines Options +MultiViews parameter or url rewriting rules
554// are active.
555$conf['php_extension_in_urls'] = true;
556
557// category_url_style : one of 'id' (default) or 'id-name'. 'id-name'
558// means that an simplified ascii represntation of the category name will
559// appear in the url
560$conf['category_url_style'] = 'id';
561
562// picture_url_style : one of 'id' (default), 'id-file' or 'file'. 'id-file'
563// or 'file' mean that the file name (without extension will appear in the
564// url). Note that one aditionnal sql query will occur if 'file' is choosen.
565// Note that you might experience navigation issues if you choose 'file'
566// and your file names are not unique
567$conf['picture_url_style'] = 'id';
568
569// tag_url_style : one of 'id-tag' (default), 'id' or 'tag'.
570// Note that if you choose 'tag' and the url (ascii) representation of your
571// tags is not unique, all tags with the same url representation will be shown
572$conf['tag_url_style'] = 'id-tag';
573
574// +-----------------------------------------------------------------------+
575// |                                 tags                                  |
576// +-----------------------------------------------------------------------+
577
578// full_tag_cloud_items_number: number of tags to show in the full tag
579// cloud. Only the most represented tags will be shown
580$conf['full_tag_cloud_items_number'] = 200;
581
582// menubar_tag_cloud_items_number: number of tags to show in the tag
583// cloud in the menubar. Only the most represented tags will be shown
584$conf['menubar_tag_cloud_items_number'] = 100;
585
586// content_tag_cloud_items_number: number of tags to show in the tag
587// cloud on the content page. Only the most represented tags will be shown
588$conf['content_tag_cloud_items_number'] = 12;
589
590// tags_levels: number of levels to use for display. Each level is bind to a
591// CSS class tagLevelX.
592$conf['tags_levels'] = 5;
593
594// +-----------------------------------------------------------------------+
595// | Notification by mail                                                  |
596// +-----------------------------------------------------------------------+
597
598// Default Value for nbm user
599$conf['nbm_default_value_user_enabled'] = false;
600
601// Search list user to send quickly (List all without to check news)
602// More quickly but less fun to use
603$conf['nbm_list_all_enabled_users_to_send'] = false;
604
605// Max time used on one pass in order to send mails.
606// Timeout delay ratio.
607$conf['nbm_max_treatment_timeout_percent'] = 0.8;
608
609// If timeout cannot be compite with nbm_max_treatment_timeout_percent,
610// nbm_treatment_timeout_default is used by default
611$conf['nbm_treatment_timeout_default'] = 20;
612
613// Parameters used in get_recent_post_dates for the 2 kind of notification
614$conf['recent_post_dates'] = array(
615  'RSS' => array('max_dates' => 5, 'max_elements' => 6, 'max_cats' => 6),
616  'NBM' => array('max_dates' => 7, 'max_elements' => 3, 'max_cats' => 9)
617  );
618
619// +-----------------------------------------------------------------------+
620// | Set default admin layout                                              |
621// +-----------------------------------------------------------------------+
622
623// Must be user setable in future
624// Default value of admin layout
625// Step 1, default_admin_layout is not defined
626//        null value, user_layout is used for admin layout
627//        defined value, this value are used for admin layout
628// Next on step 2, default_admin_layout will be used
629//                 if there are not checked like admin layout
630// stored on user informations
631//$conf['default_admin_layout']='yoga/dark';
632
633// should we load the active plugins ? true=Yes, false=No
634$conf['enable_plugins']=true;
635
636// +-----------------------------------------------------------------------+
637// | Set default for Web Service                                           |
638// +-----------------------------------------------------------------------+
639
640// Web services are allowed (true) or completely forbidden (false)
641$conf['allow_web_services'] = true;
642
643// Maximum number of images to be returned foreach call to the web service
644$conf['ws_max_images_per_page'] = 500;
645
646// On Access control false / Admim Web Service need Php cURL extension
647// Controls are done on public basis or
648// if connected on member authorization basis
649$conf['ws_access_control'] = false;
650
651// On Access control true
652// Additionnal controls are made based on Web Service Access Table
653
654// Max returned rows number ( > 0 )
655  $conf['ws_allowed_limit'] = array(1,2,3,5,10,25);
656
657// By default can be delayed by 0, 1, 2, 3, 5, 7, 14 or 30 days
658// 0 it's Now(), don't remove that one
659  $conf['ws_postponed_start'] = array(0,1,2,3,5,7,14,30); /* In days */
660
661// By default 10, 5, 2, 1 year(s) or 6, 3, 1 month(s)
662// or 15, 10, 7, 5, 1, 0 day(s)
663// 0 it's temporary closed (Useful for one access)
664  $conf['ws_durations'] = array(3650,1825,730,365,182,91,30,15,10,7,5,1,0);
665
666// +-----------------------------------------------------------------------+
667// | Filter                                                                |
668// +-----------------------------------------------------------------------+
669// $conf['filter_pages'] contains configuration for each pages
670//   o If values are not defined for a specific page, default value are used
671//   o Array is composed by the basename of each page without extention
672//   o List of value names:
673//     - used: filter function are used
674//       (if false nothing is done [start, cancel, stop, ...]
675//     - cancel: cancel current started filter
676//     - add_notes: add notes about current started filter on the header
677//   o Empty configuration in order to disable completely filter functions
678//     No filter, No icon,...
679//     $conf['filter_pages'] = array();
680$conf['filter_pages'] = array
681  (
682    // Default page
683    'default' => array(
684      'used' => true, 'cancel' => false, 'add_notes' => false),
685    // Real pages
686    'index' => array('add_notes' => true),
687    'tags' => array('add_notes' => true),
688    'search' => array('add_notes' => true),
689    'comments' => array('add_notes' => true),
690    'admin' => array('used' => false),
691    'feed' => array('used' => false),
692    'notification' => array('used' => false),
693    'nbm' => array('used' => false),
694    'popuphelp' => array('used' => false),
695    'profile' => array('used' => false),
696    'web_service' => array('used' => false),
697    'ws' => array('used' => false),
698    'identification' => array('cancel' => true),
699    'install' => array('cancel' => true),
700    'password' => array('cancel' => true),
701    'register' => array('cancel' => true),
702    'upgrade_feed' => array('cancel' => true),
703  );
704
705// +-----------------------------------------------------------------------+
706// | Slideshow                                                             |
707// +-----------------------------------------------------------------------+
708// slideshow_period : waiting time in seconds before loading a new page
709// during automated slideshow
710// slideshow_period_min, slideshow_period_max are bounds of slideshow_period
711// slideshow_period_step is the step of navigation between min and max
712$conf['slideshow_period_min'] = 1;
713$conf['slideshow_period_max'] = 10;
714$conf['slideshow_period_step'] = 1;
715$conf['slideshow_period'] = 4;
716
717// slideshow_repeat : slideshow loops on pictures
718$conf['slideshow_repeat'] = true;
719
720// $conf['light_slideshow'] indicates to use slideshow.tpl in state of
721// picture.tpl for slideshow
722// Take care to have slideshow.tpl in all available templates
723// Or set it false.
724// Check if Picture's plugins are compliant with it
725// Every plugin from 1.7 would be design to manage light_slideshow case.
726$conf['light_slideshow'] = true;
727
728// the local data directory is used to store data such as compiled templates
729// or other plugin variables etc
730$conf['local_data_dir'] = dirname(dirname(__FILE__)).'/_data';
731?>
Note: See TracBrowser for help on using the repository browser.