Changeset 858 for trunk/include/config_default.inc.php
- Timestamp:
- Sep 3, 2005, 6:36:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/config_default.inc.php
r850 r858 44 44 */ 45 45 46 // +-----------------------------------------------------------------------+ 47 // | misc | 48 // +-----------------------------------------------------------------------+ 49 46 50 // order_by : how to change the order of display for images in a category ? 47 51 // … … 68 72 $conf['slideshow_period'] = 4; 69 73 70 // last_days : options for X last days to displays for comments71 $conf['last_days'] = array(1,2,3,10,30,365);72 73 74 // file_ext : file extensions (case sensitive) authorized 74 75 $conf['file_ext'] = array('jpg','JPG','png','PNG','gif','GIF','mpg','zip', … … 85 86 // anti-flood_time : number of seconds between 2 comments : 0 to disable 86 87 $conf['anti-flood_time'] = 60; 88 89 // calendar_datefield : date field of table "images" used for calendar 90 // catgory 91 $conf['calendar_datefield'] = 'date_creation'; 92 93 // rate : enable feature for rating elements 94 $conf['rate'] = true; 95 96 // newcat_default_commentable : at creation, must a category be commentable 97 // or not ? 98 $conf['newcat_default_commentable'] = 'true'; 99 100 // newcat_default_uploadable : at creation, must a category be uploadable or 101 // not ? 102 $conf['newcat_default_uploadable'] = 'false'; 103 104 // newcat_default_visible : at creation, must a category be visible or not ? 105 // Warning : if the parent category is invisible, the category is 106 // automatically create invisible. (invisible = locked) 107 $conf['newcat_default_visible'] = 'true'; 108 109 // newcat_default_status : at creation, must a category be public or private 110 // ? Warning : if the parent category is private, the category is 111 // automatically create private. 112 $conf['newcat_default_status'] = 'public'; 113 114 // level_separator : character string used for separating a category level 115 // to the sub level. Suggestions : ' / ', ' » ', ' → ', ' - ', 116 // ' >' 117 $conf['level_separator'] = ' / '; 118 119 // paginate_pages_around : on paginate navigation bar, how many pages 120 // display before and after the current page ? 121 $conf['paginate_pages_around'] = 2; 122 123 // tn_width : default width for thumbnails creation 124 $conf['tn_width'] = 128; 125 126 // tn_height : default height for thumbnails creation 127 $conf['tn_height'] = 96; 128 129 // show_version : shall the version of PhpWebGallery be displayed at the 130 // bottom of each page ? 131 $conf['show_version'] = true; 132 133 // links : list of external links to add in the menu. An example is the best 134 // than a long explanation : 135 // 136 // $conf['links'] = array( 137 // 'http://phpwebgallery.net' => 'PWG website', 138 // 'http://forum.phpwebgallery.net' => 'PWG forum', 139 // 'http://phpwebgallery.net/doc' => 'PWG wiki' 140 // ); 141 // 142 // If the array is empty, the "Links" box won't be displayed on the main 143 // page. 144 $conf['links'] = array(); 145 146 // show_thumbnail_caption : on thumbnails page, show thumbnail captions ? 147 $conf['show_thumbnail_caption'] = true; 148 149 // show_picture_name_on_title : on picture presentation page, show picture 150 // name ? 151 $conf['show_picture_name_on_title'] = true; 152 153 // allow_random_representative : do you wish PhpWebGallery to search among 154 // categories elements a new representative at each reload ? 155 // 156 // If false, an element is randomly or manually chosen to represent its 157 // category and remains the representative as long as an admin does not 158 // change it. 159 // 160 // Warning : setting this parameter to true is CPU consuming. Each time you 161 // change the value of this parameter from false to true, an administrator 162 // must update categories informations in screen [Admin > General > 163 // Maintenance]. 164 $conf['allow_random_representative'] = false; 165 166 // allow_html_descriptions : authorize administrators to use HTML in 167 // category and element description. 168 $conf['allow_html_descriptions'] = true; 169 170 // gallery_title : Title at top of each page and for RSS feed 171 $conf['gallery_title'] = 'PhpWebGallery demonstration site'; 172 173 // gallery_description : Short description displayed with gallery title 174 $conf['gallery_description'] = 'My photos web site'; 175 176 // galery_url : URL given in RSS feed 177 $conf['gallery_url'] = 'http://demo.phpwebgallery.net'; 178 179 // prefix_thumbnail : string before filename 180 $conf['prefix_thumbnail'] = 'TN-'; 181 182 // +-----------------------------------------------------------------------+ 183 // | metadata | 184 // +-----------------------------------------------------------------------+ 185 186 // show_iptc: Show IPTC metadata on picture.php if asked by user 187 $conf['show_iptc'] = false; 87 188 88 189 // show_iptc_mapping : is used for showing IPTC metadata on picture.php … … 101 202 'iptc_caption' => '2#120' 102 203 ); 204 205 // use_iptc: Use IPTC data during database synchronization with files 206 // metadata 207 $conf['use_iptc'] = false; 103 208 104 209 // use_iptc_mapping : in which IPTC fields will PhpWebGallery find image … … 113 218 ); 114 219 220 // show_exif: Show EXIF metadata on picture.php (table or line presentation 221 // avalaible) 222 $conf['show_exif'] = true; 223 115 224 // show_exif_fields : in EXIF fields, you can choose to display fields in 116 225 // sub-arrays, for example ['COMPUTED']['ApertureFNumber']. for this, add … … 125 234 // $conf['show_exif_fields'] = array('CameraMake','CameraModel','DateTime'); 126 235 // 127 $conf['show_exif_fields'] = array('Make', 128 'Model', 129 'DateTime', 130 'COMPUTED;ApertureFNumber'); 131 132 // calendar_datefield : date field of table "images" used for calendar 133 // catgory 134 $conf['calendar_datefield'] = 'date_creation'; 135 136 // rate : enable feature for rating elements 137 $conf['rate'] = true; 236 $conf['show_exif_fields'] = array( 237 'Make', 238 'Model', 239 'DateTimeOriginal', 240 'COMPUTED;ApertureFNumber' 241 ); 242 243 // use_exif: Use EXIF data during database synchronization with files 244 // metadata 245 $conf['use_exif'] = false; 246 247 // use_exif_mapping: same behaviour as use_iptc_mapping 248 $conf['use_exif_mapping'] = array( 249 'date_creation' => 'DateTimeOriginal' 250 ); 251 252 // +-----------------------------------------------------------------------+ 253 // | sessions | 254 // +-----------------------------------------------------------------------+ 255 256 // authorize_remembering : permits user to stay logged for a long time. It 257 // creates a cookie on client side. 258 $conf['authorize_remembering'] = true; 138 259 139 260 // remember_me_length : time of validity for "remember me" cookies, in … … 154 275 $conf['session_id_size'] = 10; 155 276 156 // info_nb_elements_page : number of elements to display per page on157 // admin/infos_images158 $conf['info_nb_elements_page'] = 5; 277 // +-----------------------------------------------------------------------+ 278 // | debug | 279 // +-----------------------------------------------------------------------+ 159 280 160 281 // show_queries : for debug purpose, show queries and execution times … … 164 285 $conf['show_gt'] = true; 165 286 166 // newcat_default_commentable : at creation, must a category be commentable 167 // or not ? 168 $conf['newcat_default_commentable'] = 'true'; 169 170 // newcat_default_uploadable : at creation, must a category be uploadable or 171 // not ? 172 $conf['newcat_default_uploadable'] = 'false'; 173 174 // newcat_default_visible : at creation, must a category be visible or not ? 175 // Warning : if the parent category is invisible, the category is 176 // automatically create invisible. (invisible = locked) 177 $conf['newcat_default_visible'] = 'true'; 178 179 // newcat_default_status : at creation, must a category be public or private 180 // ? Warning : if the parent category is private, the category is 181 // automatically create private. 182 $conf['newcat_default_status'] = 'public'; 183 184 // level_separator : character string used for separating a category level 185 // to the sub level. Suggestions : ' / ', ' » ', ' → ', ' - ', 186 // ' >' 187 $conf['level_separator'] = ' / '; 188 189 // paginate_pages_around : on paginate navigation bar, how many pages 190 // display before and after the current page ? 191 $conf['paginate_pages_around'] = 2; 192 193 // tn_width : default width for thumbnails creation 194 $conf['tn_width'] = 128; 195 196 // tn_height : default height for thumbnails creation 197 $conf['tn_height'] = 96; 198 199 // show_version : shall the version of PhpWebGallery be displayed at the 200 // bottom of each page ? 201 $conf['show_version'] = true; 202 203 // links : list of external links to add in the menu. An example is the best 204 // than a long explanation : 205 // 206 // $conf['links'] = array( 207 // 'http://phpwebgallery.net' => 'PWG website', 208 // 'http://forum.phpwebgallery.net' => 'PWG forum', 209 // 'http://phpwebgallery.net/doc' => 'PWG wiki' 210 // ); 211 // 212 // If the array is empty, the "Links" box won't be displayed on the main 213 // page. 214 $conf['links'] = array(); 215 216 // feed_period : how long between two feed refresh ? Possible values are 217 // "hour", "half day", "day", "week", "month". 218 $conf['feed_period'] = 'week'; 219 220 // show_thumbnail_caption : on thumbnails page, show thumbnail captions ? 221 $conf['show_thumbnail_caption'] = true; 222 223 // show_picture_name_on_title : on picture presentation page, show picture 224 // name ? 225 $conf['show_picture_name_on_title'] = true; 287 // debug_l10n : display a warning message each time an unset language key is 288 // accessed 289 $conf['debug_l10n'] = false; 290 291 // +-----------------------------------------------------------------------+ 292 // | authentication | 293 // +-----------------------------------------------------------------------+ 226 294 227 295 // apache_authentication : use Apache authentication as reference instead of 228 296 // users table ? 229 297 $conf['apache_authentication'] = false; 230 231 // debug_l10n : display a warning message each time an unset language key is232 // accessed233 $conf['debug_l10n'] = false;234 298 235 299 // users_table : which table is the reference for users ? Can be a different … … 254 318 $conf['guest_id'] = 2; 255 319 256 // allow_random_representative : do you wish PhpWebGallery to search among257 // categories elements a new representative at each reload ? 258 // 259 // If false, an element is randomly or manually chosen to represent its260 // category and remains the representative as long as an admin does not261 // change it.262 // 263 // Warning : setting this parameter to true is CPU consuming. Each time you264 // change the value of this parameter from false to true, an administrator265 // must update categories informations in screen [Admin > General > 266 // Maintenance]. 267 $conf['allow_random_representative'] = false; 268 269 // allow_html_descriptions : authorize administrators to use HTML in 270 // category and element description. 271 $conf['allow_html_descriptions'] = true; 272 273 // gallery_title : Title at top of each page and for RSS feed 274 $conf['gallery_title'] = 'PhpWebGallery demonstration site'; 275 276 // gallery_description : Short description displayed with gallery title277 $conf[' gallery_description'] = 'My photos web site';278 279 // galery_url : URL given in RSS feed280 $conf['gallery_url'] = 'http://demo.phpwebgallery.net'; 281 320 // webmaster_id : webmaster'id. 321 $conf['webmaster_id'] = 1; 322 323 // +-----------------------------------------------------------------------+ 324 // | upload | 325 // +-----------------------------------------------------------------------+ 326 327 // upload_maxfilesize: maximum filesize for the uploaded pictures. In 328 // kilobytes. 329 $conf['upload_maxfilesize'] = 200; 330 331 // upload_maxheight: maximum height authorized for the uploaded images. In 332 // pixels. 333 $conf['upload_maxheight'] = 800; 334 335 // upload_maxwidth: maximum width authorized for the uploaded images. In 336 // kilobytes. 337 $conf['upload_maxwidth'] = 800; 338 339 // upload_maxheight_thumbnail: maximum height authorized for the uploaded 340 // thumbnails 341 $conf['upload_maxheight_thumbnail'] = 100; 342 343 // upload_maxwidth_thumbnail: maximum width authorized for the uploaded 344 // thumbnails 345 $conf['upload_maxwidth_thumbnail'] = 150; 282 346 ?>
Note: See TracChangeset
for help on using the changeset viewer.