diff options
-rw-r--r-- | digest.php | 5 | ||||
-rw-r--r-- | include/functions.php | 5 |
2 files changed, 5 insertions, 5 deletions
@@ -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)) { |