weathermap |
Subversion Repositories: |
Rev 1 | Rev 13 | |
---|---|---|
Line 1... | Line 1... | |
<?php |
<?php | |
| ||
// | ||
// The editor tries to guess where your cacti installation is, but you | ||
// may need to copy this file to editor-config.php, and edit the lines below | ||
// if it doesn't guess correctly. | ||
// | ||
| ||
| ||
| ||
|
| |
// CHANGE: Uncomment one of the lines below and change it to point to the base directory |
// CHANGE: Uncomment one of the lines below and change it to point to the base directory | |
// of your cacti install to enable cacti support in the editor |
// of your cacti install to enable cacti support in the editor | |
// $cacti_base = 'C:/XAMPP/xampp/htdocs/cacti'; |
$cacti_base = 'C:/httpd-.2_x64/htdocs/cacti'; | |
// $cacti_base = "/var/www/html/cacti"; |
// $cacti_base = "/var/www/html/cacti"; | |
|
| |
if(is_dir($cacti_base)) |
||
{ |
||
// include the cacti-config, so we know about the database |
||
include_once($cacti_base."/include/config.php"); |
||
|
| |
// CHANGE: this to be the URL of the base of your Cacti install |
| |
// it MUST end with a / character! |
// CHANGE: this to be the URL of the base of your Cacti install | |
$config['base_url']='http://support.company.net/cacti/'; |
// it MUST end with a / character! | |
} |
$cacti_url = "http://support.company.net/cacti/"; | |
| ||
| ||
|
| |
// where to look for config files. The directory must be readable |
// where to look for config files. The directory must be readable | |
// AND writable by whatever user your webserver runs as. |
// AND writable by whatever user your webserver runs as. | |
// this name is correct if you are using the Cacti plugin |
// this name is correct if you are using the Cacti plugin | |
// |
| |
// NOTE: You MIGHT need to use the full path to the configs folder here, |
// NOTE: You MIGHT need to use the full path to the configs folder here, | |
// (it seems to depend on the PHP or OS version) |
// (it seems to depend on the PHP or OS version) | |
// $mapdir= $cacti_base.'/plugins/weathermap/configs'; |
// $mapdir= $cacti_base.'/plugins/weathermap/configs'; | |
$mapdir='configs'; |
$mapdir='configs'; | |
|
| |
|
| |
// vim:ts=4:sw=4: |
| |
// if you DON'T use Cacti, and the warning in the editor annoys you, | ||
// then set this to TRUE | ||
$ignore_cacti = FALSE; | ||
| ||
| ||
| ||
| ||
// for internal testing | ||
$use_jquery=FALSE; | ||
?> |
?> | |
|
|