Merge pull request #1 from scolytus/master

use $IP in require_once path (thx to @scolytus)
Merge modifications from the 1.2.4 official version
Fix invalid logout URL bug caused by empty $shib_AssertionConsumerServiceURL option

If the $shib_AssertionConsumerServiceURL wasn't set or it was empty, the variable
didn't initialized properly when we assembled the logout url.

Fix bug: in a previous commit (82e34a0), $shib_WAYF unintendedly replaced
when we assembled the login URL so the configuration variable had no effect
(credits to @scolytus, thanks!)
fix: use of $IP in function scope needs global