From c501688dbc98428635bdf569dc9c136e24fbd9a9 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 14 Jan 2012 22:29:10 +0000 Subject: feature:2549 Allow to disable comments for everybody git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/config.sql | 1 + install/db/114-database.php | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 install/db/114-database.php (limited to 'install') diff --git a/install/config.sql b/install/config.sql index 5fdf38fe8..a973bb107 100644 --- a/install/config.sql +++ b/install/config.sql @@ -1,5 +1,6 @@ -- initial configuration for Piwigo +INSERT INTO piwigo_config (param,value,comment) VALUES ('activate_comments','true','Global parameter for usage of comments system'); INSERT INTO piwigo_config (param,value,comment) VALUES ('nb_comment_page','10','number of comments to display on each page'); INSERT INTO piwigo_config (param,value,comment) VALUES ('log','true','keep an history of visits on your website'); INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_validation','false','administrators validate users comments before becoming visible'); diff --git a/install/db/114-database.php b/install/db/114-database.php new file mode 100644 index 000000000..495e6354f --- /dev/null +++ b/install/db/114-database.php @@ -0,0 +1,42 @@ + \ No newline at end of file -- cgit v1.2.3