logo phpwebgallery
"simplement puissant"
Dernière version:
1.7.2 - 24 juillet 2008
PhpWebGallery
 Documentation
Table des matières

Configuration parameters index

Configuration parameters prior 1.4 aren’t documented.

Syntax

 $conf['configuration parameter'] 
  // PhpWebGallery Version[+]   Setting mode
or
  // Plugin/Version	Setting mode
	[Default value | Obsolete]
[+] optional: means later releases use it

Setting mode : in Config 
(set in config.inc.php till PhpWebGallery	1.4) 
(set in config_default.inc.php from PhpWebGallery	1.5+) 
(overriden in config_local.inc.php from PhpWebGallery	1.5+) 

Setting mode : in Admin
(set in somewhere in Administration screens) 
(overriden in config_local.inc.php has no effect) 

Obsolete : No longer used from the following release

Where can we get support, description and explanation for each parameter?

  • For plugins, just find the official topic whithin the “tools and plugins” forum.
  • For native parameters, read access (not update) to ./include/config_default.inc.php
  • Read comments there
  • Need more: find (or open) a topic in “installation and usage” forum

with its $conf[’specific name‘] as title, then post your expectations?

Why are plugins using the same array $conf than PhpWebGallery itself?

  • Some and useful plugins can be included in a future release without changing any $conf. So without any impact on your ./include/config_local.inc.php
  • By the way, plugins can also change some PhpWebGallery parameters values even if it isn’t recommended.

How to update your “in Config” parameters?

  • Direct update config.inc.php with PhpWebGallery 1.4,
  • Create a php module ./include/config_local.inc.php with PhpWebGallery 1.5 or 1.6

with only your changed variables,

  • Lucky 1.7 users will install the LocalFiles Editor plugin and there in the first sheet they will add/change their personal configuration variables.

A

 $conf['AI jQuery animationSpeed'] 
  // Panoramas / 1.7.+	in Config  
  '45000' 
  
 $conf['AI jQuery containerwidth'] 
  // Panoramas / 1.7.+	in Config  
  '700'  
 
 $conf['AI jQuery controlBox'] 
  // Panoramas / 1.7.+	in Config  
  'mycontrolboxclass'  
 
 $conf['AI jQuery displayTitle'] 
  // Panoramas / 1.7.+	in Config  
  'yes'  
 
 $conf['AI jQuery On name'] 
  // Panoramas / 1.7.+	in Config  
  '_360'  
 
 $conf['AI jQuery speed'] 
  // Panoramas / 1.7.+	in Config  
  'slow'  
 
 $conf['AI jQuery timeout'] 
  // Panoramas / 1.7.+	in Config  
  '42200'  
 
 $conf['allow_adviser'] 
  // PhpWebGallery	1.6+	in Config
  false
 
 $conf['allow_html_descriptions'] 
  // PhpWebGallery	1.5+	in Config
  true	
 
 $conf['allow_random_representative'] 
  // PhpWebGallery	1.5+	in Config
  false		
 
 $conf['allow_user_registration'] 
  // PhpWebGallery	1.7+	in Admin
  true 		
  
 $conf['allow_web_services'] 
  // PhpWebGallery	1.7+	in Config
  true		
  
 $conf['anti-flood_time'] 
  // PhpWebGallery	1.4+	in Config
  60		
 
 $conf['apache_authentication'] 
  // PhpWebGallery	1.5+	in Config
  false		
 
 $conf['authorize_remembering'] 
  // PhpWebGallery	1.4	in Admin
  // PhpWebGallery	1.5+	in Config
  true		
 
 $conf['auto_expand'] 
  // PhpWebGallery	1.4+	in Admin
  false		
  // PhpWebGallery	1.7+
  Obsolete

Panoramas

B

C

 $conf['calendar_datefield'] 
  // PhpWebGallery	1.4+	in Config
  'date_creation'	
 
 $conf['calendar_month_cell_height'] 
  // PhpWebGallery	1.6+	in Config
  80		
 
 $conf['calendar_show_any'] 
  // PhpWebGallery	1.6+	in Config
  true		
 
 $conf['calendar_show_empty'] 
  // PhpWebGallery	1.6+	in Config
  true		
 
 $conf['category_url_style'] 
  // PhpWebGallery	1.6+	in Config
  'id'		
  
 $conf['check_upgrade_feed'] 
  // PhpWebGallery	1.6+	in Config
  true		
 
 $conf['comment_spam_check_ip'] 
  // PhpWebGallery	1.7+	in Config
  false		
 
 $conf['comment_spam_max_links'] 
  // PhpWebGallery	1.7+	in Config
  3 		
  
 $conf['comment_spam_reject'] 
  // PhpWebGallery	1.7+	in Config
  true 		
  
 $conf['comments_forall'] 
  // PhpWebGallery	1.4+	in Admin
  false		
 
 $conf['comments_validation'] 
  // PhpWebGallery	1.4+	in Admin
  false		
 
 $conf['content_tag_cloud_items_number'] 
  // PhpWebGallery	1.7+	in Config
  12

D

 $conf['debug_l10n'] 
  // PhpWebGallery	1.5+	in	Config	
  false
  
 $conf['default_admin_layout'] 
  // PhpWebGallery	1.6+	in	Config	
This $conf is not set but for example if set it to 'yoga/dark', your admin pages will be fixed.
 
 $conf['default_email_format'] 
  // PhpWebGallery	1.7+	in	Config	
  'text/html'
  
 $conf['default_language'] 
  // PhpWebGallery	1.4+	in	Admin	
  'en_UK.iso-8859-1'
  
 $conf['default_maxheight'] 
  // PhpWebGallery	1.4+	in	Admin	
  ''
  
 $conf['default_maxwidth'] 
  // PhpWebGallery	1.4+	in	Admin	
  ''
 
 $conf['default_redirect_method']	
  // PhpWebGallery	1.7+	in	Config	
  'http' 
 
 $conf['default_template'] 
  // PhpWebGallery	1.4	in	Admin	
  'default'
  // PhpWebGallery	1.5	in	Admin	
  'yoga'
  // PhpWebGallery	1.6+	in	Admin	
  'yoga/clear'
  
 $conf['default_user_id'] 
  // PhpWebGallery	1.7+	in	Config	
  $conf['guest_id']
 
 $conf['die_on_sql_error'] 
  // PhpWebGallery	1.6+	in	Config	
  true
 
 $conf['dynareceperio'] 
  // Dynamic Recent Period / 1.0.0.0+	in Admin
  serialize(array('force' => true, 'day_number' => 1)

Dynamic Recent Period

E

 $conf['email_admin_on_comment_validation']
  // PhpWebGallery	1.7+	in	Admin	
  false
 
 $conf['email_admin_on_comment']
  // PhpWebGallery	1.7+	in	Admin	
  false
 
 $conf['email_admin_on_new_user'] 
  // PhpWebGallery	1.7+	in	Admin	
  false
 
 $conf['email_admin_on_picture_uploaded'] 
  // PhpWebGallery	1.7+	in	Admin	
  false
 
 $conf['enable_plugins']
  // PhpWebGallery	1.7+	in	Config	
  true
 
 $conf['enabled_format_email'] 
  // PhpWebGallery	1.6+	in	Config	
  true

F

 $conf['file_ext'] 
  // PhpWebGallery	1.4+	in	Config	
  array('jpg','JPG','png','PNG','gif','GIF','mpg','zip','avi','mp3','ogg')
 
 $conf['filter_pages'] 
  // PhpWebGallery	1.7+	in	Config	
  array
  (
    // Default page
    'default' => array(
      'used' => true, 'cancel' => false, 'add_notes' => false),
    // Real pages
    'index' => array('add_notes' => true),
    'tags' => array('add_notes' => true),
    'search' => array('add_notes' => true),
    'comments' => array('add_notes' => true),
    'admin' => array('used' => false),
    'feed' => array('used' => false),
    'notification' => array('used' => false),
    'nbm' => array('used' => false),
    'popuphelp' => array('used' => false),
    'profile' => array('used' => false),
    'web_service' => array('used' => false),
    'ws' => array('used' => false),
    'identification' => array('cancel' => true),
    'install' => array('cancel' => true),
    'password' => array('cancel' => true),
    'register' => array('cancel' => true),
    'upgrade_feed' => array('cancel' => true),
  )
 
 $conf['full_tag_cloud_items_number'] 
  // PhpWebGallery	1.6+	in	Config	
  200

G

 $conf['gallery_description'] 
  // 	PhpWebGallery	1.5	in	Admin	
  'My photos web site'
  // 	PhpWebGallery	1.6+
  Obsolete
 
 $conf['gallery_locked']
  // 	PhpWebGallery	1.4+	in	Admin	
  false
 
 $conf['gallery_title'] 
  // 	PhpWebGallery	1.5+	in	Admin	
  'PhpWebGallery demonstration site'
 
 $conf['gallery_url'] 
  // 	PhpWebGallery	1.5	in	Config	
  // 	PhpWebGallery	1.6+	in	Admin	
  'http://demo.phpwebgallery.net'
 
 $conf['guest_access'] 
  // 	PhpWebGallery	1.6+	in	Config	
  true
 
 $conf['guest_id'] 
  // 	PhpWebGallery	1.5+	in	Config	
  2

H

 $conf['header_notes'] 
  // 	PhpWebGallery	1.7+	in	Config	
  array()
 
 $conf['history_admin'] 
  // 	PhpWebGallery	1.5+	in	Config	
  // 	PhpWebGallery	1.7+	in	Admin	
  false
 
 $conf['history_guest'] 
  // 	PhpWebGallery	1.7+	in	Admin	
  true

I

 $conf['info_nb_elements_page'] 
  // 	PhpWebGallery	1.4	in	Config	
  5
  // 	PhpWebGallery	1.5+	
  Obsolete

J

K

L

 $conf['last_days'] 
  // 	PhpWebGallery	1.4	in	Config	
  array(1,2,3,10,30,365)
  // 	PhpWebGallery	1.5+	
  Obsolete
 
 $conf['level_separator'] 
  // 	PhpWebGallery	1.4+	in	Config	
  ' / '
 
 $conf['light_slideshow'] 
  // 	PhpWebGallery	1.7+	in	Config	
  true
 
 $conf['links'] 
  // 	PhpWebGallery	1.5+	in	Config	
  array()
 
 $conf['log'] 
  // 	PhpWebGallery	1.4+	in	Admin	
  false

M

 $conf['mail_notification'] 
  // 	PhpWebGallery	1.4	in	Admin	
  false
  // 	PhpWebGallery	1.5+	
  Obsolete
 
 $conf['mail_options'] 
  // 	PhpWebGallery	1.5+	in	Config	
  false
 
 $conf['mail_webmaster'] 
  // 	PhpWebGallery	1.4	in	Admin	
  ''
  // 	PhpWebGallery	1.5+	
  Obsolete
 
 $conf['menubar_tag_cloud_items_number'] 
  // 	PhpWebGallery	1.7	in	Config	
  100

N

 $conf['nb_comment_page'] 
  // 	PhpWebGallery	1.4+	in	Admin	
  10
 
 $conf['nb_image_line'] 
  // 	PhpWebGallery	1.4+	in	Admin	
  5
  // 	PhpWebGallery	1.7+
  Obsolete
 
 $conf['nb_line_page'] 
  // 	PhpWebGallery	1.4+	in	Admin	
  3
  // 	PhpWebGallery	1.7+
  Obsolete
 
 $conf['nb_logs_page'] 
  // 	PhpWebGallery	1.5+	in	Config	
  300
 
 $conf['nbm_complementary_mail_content'] 	
  // 	PhpWebGallery	1.6+	in	Admin	
  ''
 
 $conf['nbm_default_value_user_enabled'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  false
 
 $conf['nbm_list_all_enabled_users_to_send'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  false
 
 $conf['nbm_max_treatment_timeout_percent'] 
  // 	PhpWebGallery	1.6+	in	Config	
  0.8
 
 $conf['nbm_send_detailed_content'] 
  // 	PhpWebGallery	1.6+	in	Admin	
  'true'
 
 $conf['nbm_send_html_mail'] 	
  // 	PhpWebGallery	1.6+	in	Admin	
  'true'
 
 $conf['nbm_send_mail_as'] 
  // 	PhpWebGallery	1.7	in	Admin	
  ''
 
 $conf['nbm_send_recent_post_dates'] 	
  // 	PhpWebGallery	1.7+	in	Admin	
  'true'
 
 $conf['nbm_treatment_timeout_default'] 	
  // 	PhpWebGallery	1.6+	in	Config	  
  20
 
 $conf['newcat_default_commentable'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  'true'
  // 	PhpWebGallery	1.6+	in	Config	
  true
 
 $conf['newcat_default_status'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  'public'
 
 $conf['newcat_default_uploadable'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  'false'
  // 	PhpWebGallery	1.6	in	Config	
  false
 
 $conf['newcat_default_visible'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  'true'
  // 	PhpWebGallery	1.6+	in	Config	
  true
 
 $conf['newuser_default_enabled_high'] 
  // 	PhpWebGallery	1.6+	in	Config	
  true
  // 	PhpWebGallery	1.7+
  Obsolete

O

 $conf['order_by'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  ' ORDER BY date_available DESC, file ASC, id ASC';

P

 $conf['page_banner'] 	
  // 	PhpWebGallery	1.6+	in	Admin	
  '<h1>PhpWebGallery demonstration site</h1><p>My photos web site</p>'
 
 $conf['paginate_pages_around'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  2
 
 $conf['pass_convert'] 
  // 	PhpWebGallery	1.5+	in	Config	
  create_function('$s', 'return md5($s);')
 
 $conf['php_extension_in_urls'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  true
 
 $conf['picture_ext'] 
  // 	PhpWebGallery	1.4+	in	Config	
  array('jpg','JPG','png','PNG','gif','GIF')
  // 	PhpWebGallery	1.7+	in	Config	
  array('jpg','JPG','jpeg','JPEG','png','PNG','gif','GIF')
 
 $conf['picture_url_style'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  'id'
 
 $conf['prefix_thumbnail']  	
  // 	PhpWebGallery	1.4	in	Admin	
  // 	PhpWebGallery	1.5+	in	Config	
  'TN-'

Q

 $conf['question_mark_in_urls'] 
  // 	PhpWebGallery	1.6+	in	Config	
  true
 

R

 $conf['random_index_redirect'] 	
  // 	PhpWebGallery	1.7+	in	Config	
  array()
 
 $conf['rate_anonymous'] 	
  // 	PhpWebGallery	1.6+	in	Admin	
  'true'
 
 $conf['rate_items'] 
  // 	PhpWebGallery	1.6+	in	Config	
  array(0,1,2,3,4,5)
 
 $conf['rate'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  true
  // 	PhpWebGallery	1.6+	in	Admin	
  'true'
 
 $conf['recent_period'] 
  // 	PhpWebGallery	1.4+	in	Admin	
  '7'
  // 	PhpWebGallery	1.7+	
  Obsolete
 
 $conf['recent_post_dates'] 
  // 	PhpWebGallery	1.7+	in	Config	
  array(
  'RSS' => array('max_dates' => 5, 'max_elements' => 6, 'max_cats' => 6),
  'NBM' => array('max_dates' => 7, 'max_elements' => 3, 'max_cats' => 9)
  )
 
 $conf['remember_me_length'] 
  // 	PhpWebGallery	1.4+	in	Config	
  31536000
  // 	PhpWebGallery	1.6+	in	Config	
  5184000
 
 $conf['remember_me_name']  
  // 	PhpWebGallery	1.6+	in	Config	
  'pwg_remember'

S

 $conf['secret_key'] 
  // 	PhpWebGallery	1.7+	in	Admin	
  MD5(RAND())
 
 $conf['send_bcc_mail_webmaster'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  false
 
 $conf['session_id_size'] 
  // 	PhpWebGallery	1.4+	in	Config	
  10
  // 	PhpWebGallery	1.6	
  Obsolete
  
 $conf['session_use_only_cookies'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  true
 
 $conf['session_use_trans_sid'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  false
 
 $conf['show_exif_fields'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  array('Make', 'Model', 'DateTime', 'COMPUTED;ApertureFNumber')
 
 $conf['show_exif']
  // 	PhpWebGallery	1.4	in	Admin	
  'true'
  // 	PhpWebGallery	1.5	in	Config	
  true
 
 $conf['show_gt'] 	
  // 	PhpWebGallery	1.4	in	Config	
  true
  // 	PhpWebGallery	1.5	in	Config	
  false
  // 	PhpWebGallery	1.6+	in	Config	
  true
 
 $conf['show_iptc_mapping'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  array(
    'iptc_keywords'        => '2#025',
    'iptc_caption_writer'  => '2#122',
    'iptc_byline_title'    => '2#085',
    'iptc_caption'         => '2#120'
    );
 
 $conf['show_iptc'] 	
  // 	PhpWebGallery	1.4	in	Admin	
  'false'
  // 	PhpWebGallery	1.5+	in	Config	
  false
 
 $conf['show_nb_comments'] 	
  // 	PhpWebGallery	1.4+	in	Admin	
  'false'
  // 	PhpWebGallery	1.7+	
  Obsolete
 
 $conf['show_picture_name_on_title'] 	
  // 	PhpWebGallery	1.5+	in	Config	
  true
 
 $conf['show_queries'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  false
 
 $conf['show_thumbnail_caption'] 
  // 	PhpWebGallery	1.5+	in	Config	
  true
 
 $conf['show_version'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  false
  // 	PhpWebGallery	1.6+	in	Config	
  true
 
 $conf['slideshow_period'] 
  // 	PhpWebGallery	1.4+	in	Config	
  4
 
 $conf['smtp_host'] 
  // 	PhpWebGallery	1.7+	in	Config	
  ''
 
 $conf['smtp_password'] 
  // 	PhpWebGallery	1.7+	in	Config	
  ''
 
 $conf['smtp_user'] 
  // 	PhpWebGallery	1.7+	in	Config	
  ''
 
 $conf['subcatify'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  true

T

 $conf['tag_url_style'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  'id-tag'
 
 $conf['tags_levels'] 	
  // 	PhpWebGallery	1.6+	in	Config	
  5
 
 $conf['tn_height'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  96
  // 	PhpWebGallery	1.6+	in	Config	
  128
 
 $conf['tn_width'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  128
 
 $conf['top_number'] 	
  // 	PhpWebGallery	1.4+	in	Config	
  15

U

 $conf['upload_maxfilesize'] 
  // 	PhpWebGallery	1.4	in	Admin	
  '150'
  // 	PhpWebGallery	1.5+	in	Config	
  200
 
 $conf['upload_maxheight_thumbnail'] 	
  // 	PhpWebGallery	1.4	in	Admin	
  '100'
  // 	PhpWebGallery	1.5+	in	Config	
  100
  // 	PhpWebGallery	1.7+	in	Config	
  128
 
 $conf['upload_maxheight'] 	
  // 	PhpWebGallery	1.4	in	Admin	
  '600'
  // 	PhpWebGallery	1.5+	in	Config	
  800
 
 $conf['upload_maxwidth_thumbnail'] 	
  // 	PhpWebGallery	1.4	in	Admin	
  '150'
  // 	PhpWebGallery	1.5+	in	Config	
  150
  // 	PhpWebGallery	1.7+	in	Config	
  128
 
 $conf['upload_maxwidth'] 	
  // 	PhpWebGallery	1.4	in	Admin	
  '800'
  // 	PhpWebGallery	1.5+	in	Config	
  800
 
 $conf['use_exif_mapping'] 	
  // 	PhpWebGallery	1.5+	in	Config	
  array( 'date_creation' => 'DateTimeOriginal' )
 
 $conf['use_exif'] 	
  // 	PhpWebGallery	1.4	in	Admin	
  'false'
  // 	PhpWebGallery	1.5+	in	Config	
  false
  // 	PhpWebGallery	1.7+	in	Config	
  true
 
 	$conf['use_iptc_mapping'] 
  // 	PhpWebGallery	1.4+	in	Config	
  array( 'keywords' => '2#025', 'date_creation'   => '2#055',
  	'author'    => '2#122', 'name'            => '2#005',
  	'comment'   => '2#120' )
 
 $conf['use_iptc'] 	
  // 	PhpWebGallery	1.4	in	Admin	
  'false'
  // 	PhpWebGallery	1.5+	in	Config	
  false
 
 $conf['user_fields'] 	
  // 	PhpWebGallery	1.5+	in	Config	
  array( 'id' => 'id', 'username' => 'username', 
  'password' => 'password', 'email' => 'mail_address' )
 
 $conf['users_page'] 	
  // 	PhpWebGallery	1.5+	in	Config	
  20
 
 $conf['users_table'] 	
  // 	PhpWebGallery	1.5+	in	Config	
  $prefixeTable.'users'

V

W

 $conf['webmaster_id'] 	
  // 	PhpWebGallery	1.5+	in	Config	
  1
 
 $conf['ws_access_control'] 	
  // 	PhpWebGallery	1.7+	in	Config	
  false
 
 $conf['ws_allowed_limit'] 	
  // 	PhpWebGallery	1.7+	in	Config	
  array(1,2,3,5,10,25)
 
 $conf['ws_durations']  	
  // 	PhpWebGallery	1.7+	in	Config	
  array(3650,1825,730,365,182,91,30,15,10,7,5,1,0)
 
 $conf['ws_max_images_per_page'] 	
  // 	PhpWebGallery	1.7+	in	Config	
  500
 
 $conf['ws_postponed_start'] 	
  // 	PhpWebGallery	1.7+	in	Config	
  array(0,1,2,3,5,7,14,30)

X

Y

Z

 
en/config_parameters.txt · Dernière modification: 2008.05.16 00:21 par vdigital
 
Driven by DokuWiki - RSS notification feed