]> git.pld-linux.org Git - packages/cacti.git/blob - cacti-ioerror.patch
Up to 1.2.26
[packages/cacti.git] / cacti-ioerror.patch
1 --- cacti/lib/functions.php~    2008-10-05 06:16:11.000000000 +0300
2 +++ cacti/lib/functions.php     2008-10-05 06:16:13.069722888 +0300
3 @@ -690,6 +690,9 @@ function tail_file($file_name, $number_o
4         $filter = strtolower($filter);
5  
6         $fp = fopen($file_name, 'r');
7 +       if (!$fp) {
8 +               return array();
9 +       }
10  
11         /* Count all lines in the logfile */
12         $total_rows = 0;
13
This page took 0.144973 seconds and 3 git commands to generate.