Changeset 1853 in ExiteCMS for trunk/setuser.php


Ignore:
Timestamp:
10/16/08 11:37:18 (4 years ago)
Author:
hverton
Message:

fixed session issue in the albums module
blog previous now breaks after a complete paragraph
fixed PHP notice in feeds.php when using PHP5
fixed MySQL error in viewforum.php/viewposts.php when using MySQL v5.x
fixed PHP warning in calls.httpdownload.php when using PHP5
added locale direction (ltr/rtl) to hoteditor
fixed issue with ocassional empty [URL] tags in hoteditor
fixed wrong returncode from sendemail() in sendmail_include.php
fixed issues in session management when behind loadbalanced proxies or ISP links (changing public IP address)
fixed typo in the album gallery edit template
fixed mismatched quotes in pm post causing hoteditor message retrieval to fail
fixed versioning issue in the menu, user info and welcome panel module installers
fixed PHP notice in setuser.php

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/setuser.php

    r1776 r1853  
    1919 
    2020// set the redirect url (set in theme_cleanup), butnot when in maintenance! 
    21 if (eregi("maintenance.php", $_SERVER['HTTP_REFERER'])) { 
     21if (isset($_SERVER['HTTP_REFERER']) && eregi("maintenance.php", $_SERVER['HTTP_REFERER'])) { 
    2222    $variables['url'] = BASEDIR."index.php"; 
    2323} elseif (isset($_SESSION['last_url'])) { 
     
    9595                $message['line2'] =  "<b>".$locale['196']."</b>"; 
    9696            } 
     97        } else { 
     98            $message['line2'] =  "<b>SESSION ERROR. Please report this to the Webmaster</b>"; 
    9799        } 
    98100    } 
Note: See TracChangeset for help on using the changeset viewer.