function system_authorized_get_url
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.
See also
Related topics
File
- modules/system/system.module, line 1810
- Configuration system that lets administrators modify the workings of the site.
Code
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); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/function/system_authorized_get_url/7.x