From 5de8aeafad74a35be113fd34917d66a5b10fce1e Mon Sep 17 00:00:00 2001 From: rvelices Date: Wed, 22 Nov 2006 04:41:25 +0000 Subject: feature 440: send mail to admin when comment is entered git-svn-id: http://piwigo.org/svn/trunk@1617 68402e56-0260-453c-a942-63ccdbb3a9ee --- install/config.sql | 3 +++ install/db/35-database.php | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 install/db/35-database.php (limited to 'install') diff --git a/install/config.sql b/install/config.sql index 22fcd428d..e68887ac9 100644 --- a/install/config.sql +++ b/install/config.sql @@ -26,3 +26,6 @@ INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('login_history',' INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('nbm_send_mail_as','','Send mail as param value for notification by mail'); INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('nbm_send_detailed_content','true','Send detailed content for notification by mail'); INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('nbm_complementary_mail_content','','Complementary mail content for notification by mail'); +INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_new_user','false','Send an email to the admin when a user registers'); +INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment','false','Send an email to the admin when a valid comment is entered'); +INSERT INTO phpwebgallery_config (param,value,comment) VALUES ('email_admin_on_comment_validation','false','Send an email to the admin when a comment requires validation'); \ No newline at end of file diff --git a/install/db/35-database.php b/install/db/35-database.php new file mode 100644 index 000000000..1041df459 --- /dev/null +++ b/install/db/35-database.php @@ -0,0 +1,62 @@ + -- cgit v1.2.3