Files
phpmyadmin/libraries/logging.lib.php
2010-05-23 01:22:01 +05:30

23 lines
444 B
PHP
Executable File

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Logging functionality for webserver.
*
* This includes web server specific code to log some information.
*
* @version $Id$
* @package phpMyAdmin
*/
/**
* Logs user information to webserver logs.
*/
function PMA_log_user($user, $status = 'ok'){
if (function_exists('apache_note')) {
apache_note('userID', $user);
apache_note('userStatus', $status);
}
}
?>