Removing old documentation
[openemr.git] / phpmyadmin / libraries / logging.lib.php
blob49db0ec122175706b648e212428fce86c5eba615
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 * @package PhpMyAdmin
9 */
10 if (! defined('PHPMYADMIN')) {
11 exit;
14 /**
15 * Logs user information to webserver logs.
17 * @param string $user user name
18 * @param string $status status message
20 * @return void
22 function PMA_logUser($user, $status = 'ok')
24 if (function_exists('apache_note')) {
25 apache_note('userID', $user);
26 apache_note('userStatus', $status);