Skip to content
Snippets Groups Projects
Commit f429308a authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Update AdminInterface.php

parent 1021f381
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -59,7 +59,7 @@ class AdminInterface extends Controller
$rekordTagDate = "";
for($i = 1; $i <= 28; $i ++ )
{
$logDate = "/var/log/metager/archive/" . date("Y-m-d", mktime(date("H"),date("i"), date("s"), date("m"), date("d")-$i, date("Y"))) . "_mg3.log";
$logDate = "/var/log/metager/archive/" . "mg3.log.$i";
if( file_exists($logDate) )
{
$sameTime = exec("grep -n '" . date('H') . ":" . date('i') . ":' $logDate | tail -1 | cut -f1 -d':'");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment