diff options
author | Arun Persaud <arun@nubati.net> | 2010-04-19 19:04:52 -0700 |
---|---|---|
committer | Arun Persaud <arun@nubati.net> | 2010-04-19 19:04:52 -0700 |
commit | 07cd86af6d50e786e40ef876106afef7b4be378d (patch) | |
tree | 9afebbddaee220b590c2ce9d07737721bb97a0f4 | |
parent | e395151af6c953c0e7fa9229dd921f8d721ab69c (diff) | |
download | e-DoKo-07cd86af6d50e786e40ef876106afef7b4be378d.tar.gz e-DoKo-07cd86af6d50e786e40ef876106afef7b4be378d.tar.bz2 e-DoKo-07cd86af6d50e786e40ef876106afef7b4be378d.zip |
updated link to wiki and bugzilla
links were hardcoded, changed to link from config file
-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)) { |