diff options
Diffstat (limited to 'include/config.inc.php')
-rw-r--r-- | include/config.inc.php | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/include/config.inc.php b/include/config.inc.php index 4d9d0428d..9b6a552ee 100644 --- a/include/config.inc.php +++ b/include/config.inc.php @@ -76,7 +76,7 @@ $conf['picture_ext'] = array('jpg','JPG','png','PNG','gif','GIF'); // top_number : number of element to display for "best rated" and "most // visited" categories -$conf['top_number'] = 10; +$conf['top_number'] = 15; // anti-flood_time : number of seconds between 2 comments : 0 to disable $conf['anti-flood_time'] = 60; @@ -168,18 +168,25 @@ $conf['show_queries'] = false; // show_gt : display generation time at the bottom of each page $conf['show_gt'] = true; -// Default options for new categories. -// -// Some options for categories (commentable, uploadable, status, visible) -// must be set directly in the database by changing the corresponding -// default values of the column. Examples : -// -// ALTER TABLE phpwebgallery_categories ALTER visible SET DEFAULT 'true'; -// ALTER TABLE phpwebgallery_categories ALTER status SET DEFAULT 'private'; -// ALTER TABLE phpwebgallery_categories ALTER uploadable SET DEFAULT 'true'; -// ALTER TABLE phpwebgallery_categories ALTER commentable SET DEFAULT 'false'; -// -// MySQL default values are used when inserting a row and that no value is -// given for the column. In PhpWebGallery, the above columns are not valued -// during categories insertion, so default values are important. +// newcat_default_commentable : at creation, must a category be commentable +// or not ? +$conf['newcat_default_commentable'] = 'true'; + +// newcat_default_uploadable : at creation, must a category be uploadable or +// not ? +$conf['newcat_default_uploadable'] = 'true'; + +// newcat_default_visible : at creation, must a category be visible or not ? +// Warning : if the parent category is invisible, the category is +// automatically create invisible. (invisible = locked) +$conf['newcat_default_visible'] = 'true'; + +// newcat_default_status : at creation, must a category be public or private +// ? Warning : if the parent category is private, the category is +// automatically create private. +$conf['newcat_default_status'] = 'public'; + +// level_separator : character string used for separating a category level +// to the sub level +$conf['level_separator'] = ' / '; ?> |