Changeset 41 for branches

Show
Ignore:
Timestamp:
02/12/09 19:45:08 (3 years ago)
Author:
daris
Message:

portal: protection for next in_start hook ;) and increased version to 2.4.2

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/portal_by_daris/manifest.xml

    r33 r41  
    44        <id>portal_by_daris</id> 
    55        <title>Portal by Daris</title> 
    6         <version>2.4.1</version> 
     6        <version>2.4.2</version> 
    77        <description>Adds a portal to forum</description> 
    88        <author>Daris</author> 
     
    2929if (isset($_GET['page']) || isset($_GET['pages'])) 
    3030        require $ext_info['path'].'/page.php'; 
    31 elseif (empty($_GET) || (isset($_GET['login']) && count($_GET) == 1)) 
     31elseif ((empty($_GET) || (isset($_GET['login']) && count($_GET) == 1)) && basename($_SERVER['SCRIPT_NAME']) == 'index.php') 
    3232        require $ext_info['path'].'/index.php'; 
    3333]]></hook>