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 #22911 from colemanw/grant-reports2
[civicrm-core.git]
/
sql
/
GenerateData.php
diff --git
a/sql/GenerateData.php
b/sql/GenerateData.php
index fe7b5b511d7f8963a456ae4fe5af4a6937b9b7ab..40dca615a15c95dd4be554118078f8350b5b619d 100644
(file)
--- a/
sql/GenerateData.php
+++ b/
sql/GenerateData.php
@@
-69,7
+69,7
@@
*
*/
-if (
php_sapi_name() == 'cli' || (is_numeric($_SERVER['argc']) && $_SERVER['argc'] > 0
)) {
+if (
!(php_sapi_name() == 'cli' || (is_numeric($_SERVER['argc']) && $_SERVER['argc'] > 0)
)) {
header("HTTP/1.0 404 Not Found");
return;
}