system_authorized_get_url

Versions
mediamosa-21
system_authorized_get_url(array $options = array())

Return the URL for the authorize.php script.

Parameters

array $options Optional array of options to pass to url().

Return value

The full URL to authorize.php, using https if available.

Related topics

▾ 4 functions call system_authorized_get_url()

system_authorized_batch_process in modules/system/system.module
Use authorize.php to run batch_process().
system_authorized_run in modules/system/system.module
Setup and invoke an operation using authorize.php.
update_manager_install_form_submit in modules/update/update.manager.inc
Handle form submission when installing new projects via the update manager.
update_manager_update_ready_form_submit in modules/update/update.manager.inc
Submit handler for the form to confirm that an update should continue.

Code

modules/system/system.module, line 1636

<?php
function system_authorized_get_url(array $options = array()) {
  global $base_url;
  // Force https if available, regardless of what the caller specifies.
  $options['https'] = TRUE;
  // We prefix with $base_url so we get a full path even if clean URLs are
  // disabled.
  return url($base_url . '/authorize.php', $options);
}
?>