/phpmyadmin/libraries/logging.lib.php
PHP | 22 lines | 9 code | 2 blank | 11 comment | 1 complexity | ef59174622d7254af15c3450d336610b MD5 | raw file
Possible License(s): Apache-2.0, MPL-2.0-no-copyleft-exception, LGPL-2.1, BSD-2-Clause, GPL-2.0, LGPL-3.0
- <?php
- /* vim: set expandtab sw=4 ts=4 sts=4: */
- /**
- * Logging functionality for webserver.
- *
- * This includes web server specific code to log some information.
- *
- * @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);
- }
- }
- ?>