From 07cd86af6d50e786e40ef876106afef7b4be378d Mon Sep 17 00:00:00 2001 From: Arun Persaud Date: Mon, 19 Apr 2010 19:04:52 -0700 Subject: [PATCH] updated link to wiki and bugzilla links were hardcoded, changed to link from config file --- digest.php | 5 +++-- include/functions.php | 5 ++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/digest.php b/digest.php index cb3409f..5335262 100644 --- a/digest.php +++ b/digest.php @@ -39,6 +39,8 @@ if(isset($_SERVER['REMOTE_ADDR'])) /* get userid for users that have digest set != digest-off */ $users = DB_get_digest_users(); +global $WIKI; + global $defaulttimezone; foreach($users as $uid) { @@ -107,8 +109,7 @@ foreach($users as $uid) "-- \n". "You can change your mail delivery mode in the preference menu.\n". 'web: http://doko.nubati.net '. - 'help: http://wiki.nubati.net/EmailDoko '. - 'bugs: http://wiki.nubati.net/EmailDokoIssues'; + "help, bugs, etc.: $WIKI"; $subject = "$EmailName Digest"; diff --git a/include/functions.php b/include/functions.php index 04d1bde..98feae4 100644 --- a/include/functions.php +++ b/include/functions.php @@ -75,7 +75,7 @@ function config_check() function mymail($uid,$subject,$message) { - global $EmailName; + global $EmailName,$WIKI; /* do we send the email right away or save it in the database? */ $send_now = 1; @@ -89,8 +89,7 @@ function mymail($uid,$subject,$message) "-- \n". "You can change your mail delivery mode in the preference menu.\n". 'web: http://doko.nubati.net '. - 'help: http://wiki.nubati.net/EmailDoko '. - 'bugs: http://wiki.nubati.net/EmailDokoIssues'; + "help, bugs, etc.: $WIKI"; if(is_array($uid)) { -- 2.17.1