/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
- <?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);
- }
- }
- ?>