summaryrefslogtreecommitdiff
path: root/scripts/cron/permissionreview.php
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-01-21 19:01:42 +0100
committerMichael Tänzer <neo@nhng.de>2012-01-21 19:01:42 +0100
commit614587210a76cdda7b315d621a7beef82b319ac5 (patch)
tree7a6d01431bb516b3505cb5810cc03592705007a8 /scripts/cron/permissionreview.php
parentd608379c5f8845c9530d1ec5bfa34d7ad8b90872 (diff)
downloadcacert-devel-614587210a76cdda7b315d621a7beef82b319ac5.tar.gz
cacert-devel-614587210a76cdda7b315d621a7beef82b319ac5.tar.xz
cacert-devel-614587210a76cdda7b315d621a7beef82b319ac5.zip
bug 1003: PHP won't let you expand constants in strings
Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'scripts/cron/permissionreview.php')
-rwxr-xr-xscripts/cron/permissionreview.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/cron/permissionreview.php b/scripts/cron/permissionreview.php
index 0c8da09..74dd6c0 100755
--- a/scripts/cron/permissionreview.php
+++ b/scripts/cron/permissionreview.php
@@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
require_once('../../includes/mysql.php');
-define(BOARD_PRIVATE, 'cacert-board-private@lists.cacert.org');
+$BOARD_PRIVATE = 'cacert-board-private@lists.cacert.org';
$flags = array(
'admin' => 'Support Engineer',
@@ -60,7 +60,7 @@ Hello $admin[fname],
you get this message, because you are listed as $description on
CAcert.org. Please review the following list of persons with the same privilege
and report to the responsible team leader or board
-({BOARD_PRIVATE}) if you spot any errors.
+($BOARD_PRIVATE) if you spot any errors.
$adminlist[$flag]
@@ -98,4 +98,4 @@ Best Regards,
CAcert Support
EOF;
-sendmail(BOARD_PRIVATE, "Permissions Review", $message, 'support@cacert.org');
+sendmail($BOARD_PRIVATE, "Permissions Review", $message, 'support@cacert.org');