Online demo Privacy policy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
current:custom-authentication [2019/10/29 20:18]
sj
current:custom-authentication [2019/10/31 21:16] (current)
sj
Line 52: Line 52:
  
    ​if(strstr($username,​ "​@domain1.com"​)) {    ​if(strstr($username,​ "​@domain1.com"​)) {
-      define('​IMAP_SERVER',​ '​imap.domain1.com';​+      define('​IMAP_SERVER',​ '​imap.domain1.com'​);
    } else if(strstr($username,​ "​@domain2.com"​)) {    } else if(strstr($username,​ "​@domain2.com"​)) {
-      define('​IMAP_SERVER',​ '​imap.domain2.com';​+      define('​IMAP_SERVER',​ '​imap.domain2.com'​);
    } else {    } else {
-      define('​IMAP_SERVER',​ '​imap.somedomain.com';​+      define('​IMAP_SERVER',​ '​imap.somedomain.com'​);
    }    }
 } }
 </​code>​ </​code>​
  
Google Analytics Alternative