Allow the help_baseurl to be configured via interface variables
This commit is contained in:
parent
b61c69f007
commit
b4062026d9
|
@ -65,8 +65,6 @@ if (!empty($_SERVER['PHP_AUTH_USER']) && !empty($_SERVER['PHP_AUTH_PW'])) {
|
|||
list($usec, $sec) = explode(" ", microtime());
|
||||
mt_srand($usec * 1000000);
|
||||
|
||||
$help_baseurl = "http://www.aide-alternc.org/";
|
||||
|
||||
/* Server Domain Name */
|
||||
$host = getenv("HTTP_HOST");
|
||||
|
||||
|
@ -229,6 +227,8 @@ if ((variable_get('sql_max_username_length', NULL)==NULL)||(variable_get('sql_ma
|
|||
|
||||
}
|
||||
|
||||
$help_baseurl = variable_get('help_baseurl', 'http://www.aide-alternc.org/', 'The base URL for help liks', array('desc' => 'Help URL', 'type' => 'string'));
|
||||
|
||||
// any page can add elements to js/css part of <head> BEFORE including head.php
|
||||
$addhead=array('js'=>array(), 'css'=>array());
|
||||
|
||||
|
|
Loading…
Reference in New Issue