Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
116de179
Commit
116de179
authored
Feb 25, 2009
by
Dries
Browse files
- Patch
#381438
by drumm: do not use page cache for drupal.sh requests.
parent
71de5fc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
116de179
...
...
@@ -698,7 +698,7 @@ function page_get_cache($retrieve) {
global
$user
,
$base_root
;
static
$ob_started
=
FALSE
;
if
(
$user
->
uid
||
(
$_SERVER
[
'REQUEST_METHOD'
]
!=
'GET'
&&
$_SERVER
[
'REQUEST_METHOD'
]
!=
'HEAD'
)
||
count
(
drupal_get_messages
(
NULL
,
FALSE
)))
{
if
(
$user
->
uid
||
(
$_SERVER
[
'REQUEST_METHOD'
]
!=
'GET'
&&
$_SERVER
[
'REQUEST_METHOD'
]
!=
'HEAD'
)
||
count
(
drupal_get_messages
(
NULL
,
FALSE
))
||
$_SERVER
[
'SERVER_SOFTWARE'
]
===
'PHP CLI'
)
{
return
FALSE
;
}
if
(
$retrieve
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment