Changeset 11951


Ignore:
Timestamp:
Aug 15, 2011, 5:59:49 PM (9 years ago)
Author:
flop25
Message:

bug:2402
vsprintf() [function.vsprintf ]: Too few arguments => fix with that code but tests in various environements are needed

File:
1 edited

Legend:

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

    r8728 r11951  
    100100  ;
    101101
    102   return vsprintf(
    103     "%02X%02X",
    104     explode($separator,$_SERVER['REMOTE_ADDR'])
    105   );
    106 }
    107 
     102  return substr(md5($_SERVER['REMOTE_ADDR']), 0, 4);
     103}
    108104/**
    109105 * this function returns
Note: See TracChangeset for help on using the changeset viewer.