jablonka.czprosek.czf

weathermap

Subversion Repositories:
[/] [editor-config.php] - Rev 3

Compare with Previous - Blame - Download


<?php

// 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
// $cacti_base = 'C:/XAMPP/xampp/htdocs/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!
        $config['base_url']='http://support.company.net/cacti/';
}

// where to look for config files. The directory must be readable 
// AND writable by whatever user your webserver runs as.
// 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,
// (it seems to depend on the PHP or OS version)
// $mapdir= $cacti_base.'/plugins/weathermap/configs'; 
$mapdir='configs';


// vim:ts=4:sw=4:               
?>

Powered by WebSVN 2.2.1