]> git.pld-linux.org Git - packages/cacti-plugin-rrdclean.git/blob - warning-fixes.patch
- fix rrdmove, it was totally broken, i.e created only parent dir of parent dir of...
[packages/cacti-plugin-rrdclean.git] / warning-fixes.patch
1 --- cacti-plugin-rrdclean-0.40/rrdcleaner.php   2010-05-18 23:56:45.000000000 +0300
2 +++ cacti-plugin-rrdclean-0.40/rrdcleaner.php   2010-12-14 09:38:38.595416928 +0200
3 @@ -301,7 +301,7 @@
4                 $files_db[] = substr(strchr($entry["data_source_path"], "/"),1);
5         }
6  
7 -       if(function_exists(glob)) { //needed because this function is not available on all systems
8 +       if(function_exists('glob')) { //needed because this function is not available on all systems
9                 chdir($rra_path);
10                 /* get all rrdfiles in two passes */
11                 $files_on_hd      = glob("*/*.rrd"); //simply pull all .rrd files out of the directory..
12 --- cacti-plugin-rrdclean-0.40/rrdmove.php~     2010-12-14 09:49:03.068688201 +0200
13 +++ cacti-plugin-rrdclean-0.40/rrdmove.php      2010-12-14 10:09:54.997728344 +0200
14 @@ -27,7 +27,7 @@
15  /* let PHP run just as long as it has to */
16  ini_set("max_execution_time", "0");
17  
18 -error_reporting('E_ALL');
19 +error_reporting(E_ALL);
20  $dir = dirname(__FILE__);
21  chdir($dir);
22  
This page took 0.062382 seconds and 3 git commands to generate.