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

Last change on this file since 2527 was 2527, checked in by vdigital, 16 years ago

Change config to wigo/roma

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