LSauth::CAS : fix bug about LSAUTH_CAS_SERVER_SSL_CERT and LSAUTH_CAS_SERVER_SSL_CACE...
authorBenjamin Renard <brenard@easter-eggs.com>
Thu, 29 Mar 2012 16:32:13 +0000 (18:32 +0200)
committerBenjamin Renard <brenard@easter-eggs.com>
Thu, 29 Mar 2012 16:32:13 +0000 (18:32 +0200)
public_html/includes/class/class.LSauthMethod_CAS.php

index fe9f71b..9e904b1 100644 (file)
@@ -42,11 +42,11 @@ class LSauthMethod_CAS extends LSauthMethod {
                                phpCAS::setNoCasServerValidation();
                        }
 
-                       if (defined(LSAUTH_CAS_SERVER_SSL_CERT)) {
+                       if (defined('LSAUTH_CAS_SERVER_SSL_CERT')) {
                                phpCAS::setCasServerCert(LSAUTH_CAS_SERVER_SSL_CERT);
                        }
 
-                       if (defined(LSAUTH_CAS_SERVER_SSL_CACERT)) {
+                       if (defined('LSAUTH_CAS_SERVER_SSL_CACERT')) {
                                phpCAS::setCasServerCACert(LSAUTH_CAS_SERVER_SSL_CACERT);
                        }