PageRenderTime 30ms CodeModel.GetById 27ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/phpmyadmin/libraries/logging.lib.php

https://bitbucket.org/adarshj/convenient_website
PHP | 22 lines | 9 code | 2 blank | 11 comment | 1 complexity | ef59174622d7254af15c3450d336610b MD5 | raw file
 1<?php
 2/* vim: set expandtab sw=4 ts=4 sts=4: */
 3/**
 4 * Logging functionality for webserver.
 5 *
 6 * This includes web server specific code to log some information.
 7 *
 8 * @package PhpMyAdmin
 9 */
10
11/**
12 * Logs user information to webserver logs.
13 */
14function PMA_log_user($user, $status = 'ok')
15{
16    if (function_exists('apache_note')) {
17        apache_note('userID', $user);
18        apache_note('userStatus', $status);
19    }
20}
21
22?>