projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #21496 from civicrm/5.42
[civicrm-core.git]
/
sql
/
GenerateGroups.php
diff --git
a/sql/GenerateGroups.php
b/sql/GenerateGroups.php
index 18cc7c5b782f512e667742bfd9adf649e4a5a6af..18381428ea9132eaab2d375abdca02dde137c171 100644
(file)
--- a/
sql/GenerateGroups.php
+++ b/
sql/GenerateGroups.php
@@
-13,9
+13,11
@@
*
* @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';