Changeset 399 for dev/mods

Show
Ignore:
Timestamp:
07/01/09 05:50:14 (11 years ago)
Author:
kovell
Message:

Fixes: autoupgrade smoother, Rare errors in db classes reduced, api login problems reduced, page cache notifications check if cache is active. admin mod list sorted. alliance and corp details pages load faster. all-time summary tables cached. killlist performance on large databases improved

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/mods/apiuser/login.php

    r365 r399  
    66{ 
    77 $result = user::login($_POST['usrlogin'], $_POST['usrpass']); 
    8     if ( $_POST['usrlogin'] == '' && $_POST['usrpass'] == ADMIN_PASSWORD || user::role('admin')     ) 
     8    if ( $_POST['usrlogin'] == '' && 
     9                (crypt($_POST['usrpass'],ADMIN_PASSWORD) == ADMIN_PASSWORD || $_POST['usrpass'] == ADMIN_PASSWORD) 
     10                || user::role('admin')     ) 
    911    { 
    1012        session::create(true);