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
120ce90f
Commit
120ce90f
authored
Sep 24, 2008
by
webchick
Browse files
#312883
by moshe weitzman: Fix REQUEST_METHOD notice in run-tests.sh.
parent
991ff539
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/run-tests.sh
View file @
120ce90f
...
...
@@ -259,6 +259,7 @@ function simpletest_script_init() {
$_SERVER
[
'SERVER_SOFTWARE'
]
=
'Apache'
;
$_SERVER
[
'SERVER_NAME'
]
=
'localhost'
;
$_SERVER
[
'REQUEST_URI'
]
=
$path
.
'/'
;
$_SERVER
[
'REQUEST_METHOD'
]
=
'GET'
;
$_SERVER
[
'SCRIPT_NAME'
]
=
$path
.
'/index.php'
;
$_SERVER
[
'PHP_SELF'
]
=
$path
.
'/index.php'
;
$_SERVER
[
'HTTP_USER_AGENT'
]
=
'Drupal command line'
;
...
...
Write
Preview
Markdown
is supported
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