blob: 61c7a0ad2988b5c38332010c5b6ee31926de5582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
global $gShellScript;
$gShellScript = TRUE;
$_REQUEST['uri_mode'] = TRUE;
/**
* required setup
*/
if( !empty( $argc ) ) {
// reduce feedback for command line to keep log noise way down
define( 'BIT_PHP_ERROR_REPORTING', E_ERROR | E_PARSE );
}
require_once( '../../bit_setup_inc.php' );
if( $gBitSystem->isPackageActive( 'newsletters' ) ) {
require_once( NEWSLETTERS_PKG_PATH.'BitMailer.php' );
global $gBitMailer;
$gBitMailer = new BitMailer();
$gBitMailer->tendQueue();
}
?>
|