1 chmod 666 is invalid, it should be octal: 0666
3 but i'd rather not chmod at all, if webserver can write it, so can it read it.
5 really, it should be configurable (perhaps take some cacti var?)
6 --- cacti-plugin-boost-4.3/setup.php~ 2010-12-14 09:15:05.048058428 +0200
7 +++ cacti-plugin-boost-4.3/setup.php 2010-12-14 23:38:26.442892330 +0200
9 if ($fileptr = fopen($cache_file, "w")) {
10 fwrite($fileptr, $data["output"], strlen($data["output"]));
12 - chmod($cache_file, 666);