projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove a bunch of isset from options.tpl
[civicrm-core.git]
/
sql
/
GenerateMailing.php
diff --git
a/sql/GenerateMailing.php
b/sql/GenerateMailing.php
index f234f6d550cdb5e3658e46ac51376226f4a9a733..1ea8e744e8d04b977eb6631dc3343d4a004f7217 100644
(file)
--- a/
sql/GenerateMailing.php
+++ b/
sql/GenerateMailing.php
@@
-13,9
+13,12
@@
*
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
*
* @package CRM
* @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
*/
*/
+if (!(php_sapi_name() == 'cli' || (is_numeric($_SERVER['argc']) && $_SERVER['argc'] > 0))) {
+ header("HTTP/1.0 404 Not Found");
+
+ return;
+}
require_once '../civicrm.config.php';
require_once '../civicrm.config.php';