Log in with username/password: lyceum/lyceum

Changeset 1185

Show
Ignore:
Timestamp:
10/07/07 22:24:56 (1 year ago)
Author:
jjb
Message:

Very simple and crude printout of request information in the case of token timeout. #772

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/src/lib/functions.php

    r1181 r1185  
    215215 
    216216function badTokenMessage(){ 
    217    die("Your tokens have timed out. <a href='{$_SERVER['HTTP_REFERER']}'>Reload</a> the page to reset your tokens.");   
     217   die("Your tokens have timed out. <a href='{$_SERVER['HTTP_REFERER']}'>Reload</a> the page to reset your tokens. (this link might not take you anywhere useful.). The contents of your request is printed below-- It has not been saved to the system! You should save this if it does not exist elsewhere!<pre>". array_print($_REQUEST) . '</pre>'); 
    218218} 
    219219 
Log in with username/password: lyceum/lyceum