<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
*/
/**
- *When runing script from cli :
+ * When runing script from cli :
* 1. By default script is being used for civimail processing.
* eg : nice -19 php bin/EmailProcessor.php -u<login> -p<password> -s<sites(or default)>
*
// bootstrap the environment and run the processor
// you can run this program either from an apache command, or from the cli
if (php_sapi_name() == "cli") {
- require_once ("bin/cli.php");
+ require_once "bin/cli.php";
$cli = new civicrm_cli();
//if it doesn't die, it's authenticated
//log the execution of script
$lock->release();
}
-