Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
function domain_check_response($domain, $drush = FALSE) {
if (variable_get('domain_skip_domain_check', 0)) {
return t('Domain response checks have been disabled. Saving an incorrect domain may affect your site.');
}
$url = domain_get_path($domain) . drupal_get_path('module', 'domain') . '/tests/200.png';
If on my development server I am in a subfolder, eg localhost/drupalfolder/ then the check of the remote domain will also use this, and will check http://mydomain.com/drupalfolder/sites/all/modules/contrib/domain/tests/.... This might not be the case!
Comments
Comment #1
agentrickardThis is actually how I do development (example.com/drupal-7 is my root dir), so I don't see an issue here. The test works as designed.
Comment #2
agentrickard