Révision 592abfa4
Ajouté par Renato Botelho il y a presque 10 ans
usr/local/www/status_rrd_graph_img.php | ||
---|---|---|
64 | 64 |
$now = time(); |
65 | 65 |
|
66 | 66 |
if (is_numeric($_GET['start'])) { |
67 |
if($start < ($now - (3600 * 24 * 365 * 5))) { |
|
68 |
$start = $now - (8 * 3600); |
|
69 |
} |
|
70 | 67 |
$start = $_GET['start']; |
71 | 68 |
} else { |
72 | 69 |
$start = $now - (8 * 3600); |
Formats disponibles : Unified diff
Remove useless code, variable is set again on next line