projects
/
pgweb-old.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69b0197
)
Make the email address for the moderation nag configurable.
author
Dave Page
<dpage@pgadmin.org>
Thu, 28 Jan 2010 10:11:19 +0000
(10:11 +0000)
committer
Dave Page
<dpage@pgadmin.org>
Thu, 28 Jan 2010 10:11:19 +0000
(10:11 +0000)
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2623
8f5c7a92
-453e-0410-a47f-
ad33c8a6b003
portal/tools/moderation-nag.php
patch
|
blob
|
blame
|
history
diff --git
a/portal/tools/moderation-nag.php
b/portal/tools/moderation-nag.php
index 0dfd8bf0558f6bcd354b729ce859f20922448a9c..af41a78af8ad1d7c81a8f8555c216ef895861e69 100755
(executable)
--- a/
portal/tools/moderation-nag.php
+++ b/
portal/tools/moderation-nag.php
@@
-6,7
+6,10
@@
require_once '../system/global/settings.php';
if (file_exists('../system/global/settings.local.php'))
require_once '../system/global/settings.local.php';
- $EMAIL = "PostgreSQL WWW List <pgsql-www@postgresql.org>";
+ if (isset($_SERVER['argv'][1]))
+ $EMAIL = $_SERVER['argv'][1];
+ else
+ $EMAIL = "PostgreSQL WWW List <pgsql-www@postgresql.org>";
$DB = $_SETTINGS['db_portal'];
$SEND_MAIL = 0;