Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / libraries / logging.lib.php
blobdee8407f202cfef62e48dc03639c1ce75d16bfa1
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_log_user($user, $status = 'ok')
24 if (function_exists('apache_note')) {
25 apache_note('userID', $user);
26 apache_note('userStatus', $status);