update to D 7.17

Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
bachy
2012-12-08 11:35:42 +01:00
parent 975d758599
commit 5396b3e2b5
284 changed files with 3674 additions and 1854 deletions

View File

@@ -113,7 +113,7 @@ while ($param = array_shift($_SERVER['argv'])) {
$_REQUEST = $_GET;
}
// set file to execute or Drupal path (clean urls enabled)
// set file to execute or Drupal path (clean URLs enabled)
if (isset($path['path']) && file_exists(substr($path['path'], 1))) {
$_SERVER['PHP_SELF'] = $_SERVER['REQUEST_URI'] = $path['path'];
$cmd = substr($path['path'], 1);

View File

@@ -129,8 +129,7 @@ if (module_exists('taxonomy')) {
}
else {
$instance['widget'] = array(
'type' => 'select',
'module' => 'options',
'type' => 'options_select',
'settings' => array(),
);
}

View File

@@ -268,14 +268,14 @@ function simpletest_script_init($server_software) {
exit();
}
// Get url from arguments.
// Get URL from arguments.
if (!empty($args['url'])) {
$parsed_url = parse_url($args['url']);
$host = $parsed_url['host'] . (isset($parsed_url['port']) ? ':' . $parsed_url['port'] : '');
$path = isset($parsed_url['path']) ? $parsed_url['path'] : '';
// If the passed URL schema is 'https' then setup the $_SERVER variables
// properly so that testing will run under https.
// properly so that testing will run under HTTPS.
if ($parsed_url['scheme'] == 'https') {
$_SERVER['HTTPS'] = 'on';
}