Ignore:
Timestamp:
Jul 17, 2005, 5:06:39 PM (19 years ago)
Author:
plg
Message:
  • new feature : use Apache authentication. If $confapache_authentication is set true : if no user matches $_SERVERREMOTE_USER in "users" table, PWG automatically creates one. This way, users can customize the behaviour of the application.
  • template : new organisation of identification menu (category.php). Simplification is required for Apache authentication (no logout link even if user is externally logged in)
  • new : usernames can contain quotes (required because Apache authentication authorized quotes in usernames)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_session.inc.php

    r675 r804  
    108108function add_session_id( $url, $redirect = false )
    109109{
    110   global $page, $user;
     110  global $page, $user, $conf;
    111111
    112   if ( $user['has_cookie'] ) return $url;
     112  if ( $user['has_cookie'] or $conf['apache_authentication']) return $url;
    113113
    114114  $amp = '&';
Note: See TracChangeset for help on using the changeset viewer.