mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix name of function
This commit is contained in:
parent
cec96b33ae
commit
4b3cd947f2
|
|
@ -187,14 +187,14 @@ print '<td class="center"> </td>'."\n";
|
|||
print '<td class="right">'."\n";
|
||||
|
||||
if (empty($conf->global->AGENDA_REMINDER_BROWSER)) {
|
||||
if (! getIsHTTPS()) {
|
||||
if (!isHTTPS()) {
|
||||
$langs->load("errors");
|
||||
print img_warning($langs->trans("WarningAvailableOnlyForHTTPSServers"), '', 'valignmiddle size15x').' ';
|
||||
}
|
||||
print '<a class="valignmiddle" href="'.$_SERVER['PHP_SELF'].'?action=set_AGENDA_REMINDER_BROWSER&token='.newToken().'">'.img_picto($langs->trans('Disabled'), 'switch_off').'</a>';
|
||||
print '</td></tr>'."\n";
|
||||
} else {
|
||||
if (! getIsHTTPS()) {
|
||||
if (!isHTTPS()) {
|
||||
$langs->load("errors");
|
||||
print img_warning($langs->trans("WarningAvailableOnlyForHTTPSServers"), '', 'valignmiddle size15x').' ';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2909,7 +2909,7 @@ function getUserRemoteIP()
|
|||
*
|
||||
* @return boolean True if user is using HTTPS
|
||||
*/
|
||||
function getIsHTTPS()
|
||||
function isHTTPS()
|
||||
{
|
||||
$isSecure = false;
|
||||
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user