mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
22
html/phpmyad/libraries/logging.lib.php
Normal file
22
html/phpmyad/libraries/logging.lib.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user