summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/principal/configuraciones.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/principal/configuraciones.php')
-rw-r--r--admin/WebConsole/principal/configuraciones.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/principal/configuraciones.php b/admin/WebConsole/principal/configuraciones.php
index 19ecff7d..fca880ab 100644
--- a/admin/WebConsole/principal/configuraciones.php
+++ b/admin/WebConsole/principal/configuraciones.php
@@ -356,7 +356,7 @@ function datos_sesiones($cmd, $idordenador)
}
if ($ip) {
foreach (file(LOG_FILE) as $line) {
- if (strstr($line, "ip=$ip")) {
+ if (strstr($line, "ip=$ip,")) {
$fields = preg_split("/[:,=]/", rtrim($line, ". \t\n\r\0\x0B"));
$date_time = str_replace("T", " ", $fields[0]) . ":" . $fields[1] . ":" .
preg_replace("/\+.*$/", "", $fields[2]);