Show
Ignore:
Timestamp:
01/21/08 19:50:55 (11 months ago)
Author:
anarcat
Message:

add a alternc_del_session() hook that removes the phpMyAdmin cookie on logout

Closes: #1082

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/bureau/class/m_mysql.php

    r1902 r2076  
    391391  } 
    392392 
     393  /* ----------------------------------------------------------------- */ 
     394  /** Hook function called when a user is logged out. 
     395   * We just remove the cookie created in admin/sql_admin.php 
     396   */ 
     397  function alternc_del_session() { 
     398      setcookie("REMOTE_USER",""); 
     399      setcookie("REMOTE_PASSWORD",""); 
     400  } 
    393401 
    394402  /* ----------------------------------------------------------------- */