diff options
Diffstat (limited to 'admin/tend_mail_queue.php')
| -rw-r--r-- | admin/tend_mail_queue.php | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/admin/tend_mail_queue.php b/admin/tend_mail_queue.php index 14f815b..61c7a0a 100644 --- a/admin/tend_mail_queue.php +++ b/admin/tend_mail_queue.php @@ -1,13 +1,6 @@ <?php - - global $gBitSystem, $_SERVER; - - $_SERVER['SCRIPT_URL'] = ''; - $_SERVER['HTTP_HOST'] = ''; - $_SERVER['HTTP_USER_AGENT'] = ''; - $_SERVER['SERVER_NAME'] = ''; - $_SERVER['SERVER_ADMIN'] = ''; - $_SERVER['SERVER_SOFTWARE'] = 'command line'; + global $gShellScript; + $gShellScript = TRUE; $_REQUEST['uri_mode'] = TRUE; /** @@ -24,7 +17,6 @@ require_once( NEWSLETTERS_PKG_PATH.'BitMailer.php' ); global $gBitMailer; $gBitMailer = new BitMailer(); - $gBitMailer->tendQueue(); } |
