1 | 1 | simandl | <?php |
2 | | | |
3 | 13 | simandl | // |
4 | | | // The editor tries to guess where your cacti installation is, but you |
5 | | | // may need to copy this file to editor-config.php, and edit the lines below |
6 | | | // if it doesn't guess correctly. |
7 | | | // |
8 | | | |
9 | | | |
10 | | | |
11 | | | |
12 | 1 | simandl | // CHANGE: Uncomment one of the lines below and change it to point to the base directory |
13 | | | // of your cacti install to enable cacti support in the editor |
14 | 13 | simandl | $cacti_base = 'C:/httpd-.2_x64/htdocs/cacti'; |
15 | 1 | simandl | // $cacti_base = "/var/www/html/cacti"; |
16 | | | |
17 | | | |
18 | 13 | simandl | // CHANGE: this to be the URL of the base of your Cacti install |
19 | | | // it MUST end with a / character! |
20 | | | $cacti_url = "http://support.company.net/cacti/"; |
21 | | | |
22 | | | |
23 | 1 | simandl | // where to look for config files. The directory must be readable |
24 | | | // AND writable by whatever user your webserver runs as. |
25 | | | // this name is correct if you are using the Cacti plugin |
26 | 13 | simandl | |
27 | 1 | simandl | // NOTE: You MIGHT need to use the full path to the configs folder here, |
28 | | | // (it seems to depend on the PHP or OS version) |
29 | | | // $mapdir= $cacti_base.'/plugins/weathermap/configs'; |
30 | | | $mapdir='configs'; |
31 | | | |
32 | | | |
33 | 13 | simandl | |
34 | | | // if you DON'T use Cacti, and the warning in the editor annoys you, |
35 | | | // then set this to TRUE |
36 | | | $ignore_cacti = FALSE; |
37 | | | |
38 | | | |
39 | 1 | simandl | ?> |