rfe #1694104 Allow logging of user status with Apache.
[phpmyadmin/crack.git] / libraries / logging.lib.php
blobe0f0eba2c06dba1cf1675eea82363beeb25ef73d
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Logging functionality for webserver.
6 * This includes web server specific code to log some information.
8 * @version $Id: common.inc.php 12268 2009-03-02 16:19:36Z lem9 $
9 * @package phpMyAdmin
12 function PMA_log_user($user, $status = 'ok'){
13 if (function_exists('apache_note')) {
14 apache_note('userID', $user);
15 apache_note('userStatus', $status);