Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mail.php
- 172c172
- < $(\'#roundcubeFrame\').contents().find(\'#mainscreen\').css(\'top\',\'15px\');
- ---
- > //$(\'#roundcubeFrame\').contents().find(\'#mainscreen\').css(\'top\',\'15px\');
- RoundcubeLogin.class.php
- 268c268
- < if ($_COOKIE['roundcube_sessid'])
- ---
- > if (isset($_COOKIE['roundcube_sessid']))
- 271c271
- < if ($_COOKIE['roundcube_sessauth'])
- ---
- > if (isset($_COOKIE['roundcube_sessauth']))
- 322,324c322,331
- < $port = ($_SERVER['HTTPS']) ? 443 : 80;
- < $host = ($port == 443) ? "ssl://localhost" : "localhost";
- <
- ---
- > //$port = 443;
- > $port = (isset($_SERVER['HTTPS'])) ? 443 : 80;
- > if(isset($_SERVER['HTTP_X_FORWARDED_HOST'])){
- > $port = 443;
- > $host = "ssl://" .$_SERVER['HTTP_X_FORWARDED_HOST'];
- > $reqhost = $_SERVER['HTTP_X_FORWARDED_HOST'];
- > }else{
- > $host = (($port == 443) ? "ssl://" : "").$_SERVER['HTTP_HOST'];
- > $reqhost = $_SERVER['HTTP_HOST'];
- > }
- 333c340
- < if (!$_COOKIE['roundcube_sessid'] && $this->rcSessionID)
- ---
- > if (!isset($_COOKIE['roundcube_sessid']) && $this->rcSessionID)
- 336c343
- < if (!$_COOKIE['roundcube_sessauth'] && $this->rcSessionAuth)
- ---
- > if (!isset($_COOKIE['roundcube_sessauth']) && $this->rcSessionAuth)
- 345c352
- < . "Host: ".$_SERVER['HTTP_HOST']."\r\n"
- ---
- > . "Host: ".$reqhost."\r\n"
- 359c366
- < . "Host: ".$_SERVER['HTTP_HOST']."\r\n"
- ---
- > . "Host: ".$reqhost."\r\n"
- userSettings.php
- 12c12
- < foreach($params as $param){
- ---
- > /*foreach($params as $param){
- 15c15
- < }
- ---
- > }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement