Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notice: Undefined variable: protocol #5

Open
Accla89 opened this issue Feb 11, 2018 · 1 comment
Open

Notice: Undefined variable: protocol #5

Accla89 opened this issue Feb 11, 2018 · 1 comment

Comments

@Accla89
Copy link

Accla89 commented Feb 11, 2018

Hi,

this message I get when I go to the installed page.
I registered the ap with CCP.
I also edited the INI file.

ESI CONNECTION TYPE: Authentication Only

Notice: Undefined variable: protocol in /var/www/api/timerboard/functions/sso/getssocallbackurl.php on line 15

greeting

@scopehs
Copy link

scopehs commented Jul 29, 2018

getssocallbackurl.php fix to:

function GetSSOCallbackURL() {
if(!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') {
$protocol = 'https://';
} else {
$protocol = 'http://';
}

return $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . '?action=eveonlinecallback';

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants