| 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 | | | |
| 19 | 13 | simandl | // CHANGE: this to be the URL of the base of your Cacti install |
| 20 | | | // it MUST end with a / character! |
| 21 | | | $cacti_url = "http://support.company.net/cacti/"; |
| 22 | | | |
| 23 | | | |
| 24 | | | |
| 25 | 1 | simandl | // where to look for config files. The directory must be readable |
| 26 | | | // AND writable by whatever user your webserver runs as. |
| 27 | | | // this name is correct if you are using the Cacti plugin |
| 28 | 13 | simandl | |
| 29 | 1 | simandl | // NOTE: You MIGHT need to use the full path to the configs folder here, |
| 30 | | | // (it seems to depend on the PHP or OS version) |
| 31 | | | // $mapdir= $cacti_base.'/plugins/weathermap/configs'; |
| 32 | | | $mapdir='configs'; |
| 33 | | | |
| 34 | | | |
| 35 | 13 | simandl | |
| 36 | | | // if you DON'T use Cacti, and the warning in the editor annoys you, |
| 37 | | | // then set this to TRUE |
| 38 | | | $ignore_cacti = FALSE; |
| 39 | | | |
| 40 | | | |
| 41 | | | |
| 42 | | | |
| 43 | | | // for internal testing |
| 44 | | | $use_jquery=FALSE; |
| 45 | 1 | simandl | ?> |