Translated using Weblate (Turkish)
[phpmyadmin.git] / libraries / logging.lib.php
blob975fc5a0c3945a84b4cf630b3715eeff7ea3f9be
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);