Sha256: 4feb24b04336356a39c70d46984f70890fc35467917674a08f0943d903295fd8

Contents?: true

Size: 567 Bytes

Versions: 2

Compression:

Stored size: 567 Bytes

Contents

<?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
 */
if (! defined('PHPMYADMIN')) {
    exit;
}

/**
 * Logs user information to webserver logs.
 *
 * @param string $user   user name
 * @param string $status status message
 *
 * @return void
 */
function PMA_logUser($user, $status = 'ok')
{
    if (function_exists('apache_note')) {
        apache_note('userID', $user);
        apache_note('userStatus', $status);
    }
}

?>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simpletool-0.0.3 lib/support/phpmyadmin/phpmyadmin/libraries/logging.lib.php
simpletool-0.0.2 lib/support/phpmyadmin/phpmyadmin/libraries/logging.lib.php