source: tags/build-Alligator02/include/config_default.inc.php @ 13704

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