mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 23:41:29 +02:00
- adding user logs (displaying all users instead of limited to the user if viewing user notes)
- fixed a tiny set of bugs... git-svn-id: file:///svn/phpbb/trunk@5848 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -139,7 +139,7 @@ class session
|
||||
$this->ip = (!empty($_SERVER['REMOTE_ADDR'])) ? htmlspecialchars($_SERVER['REMOTE_ADDR']) : '';
|
||||
|
||||
// Load limit check (if applicable)
|
||||
if (@file_exists('/proc/loadavg'))
|
||||
if (@file_exists('/proc/loadavg') && @is_readable('/proc/loadavg'))
|
||||
{
|
||||
if ($load = @file_get_contents('/proc/loadavg'))
|
||||
{
|
||||
|
Reference in New Issue
Block a user