I'm rocking the version "i" of the cacti install. I'm trying to configure the plugin architecture so I can get a bunch of programs up and running. I'm noticing the plugins I added are not working and nothing is showing up in the Realm Permissions. I skipped a step on purpose, since I thought it would pick up the subdomain redirect (which it obviously does not). I'm a bit confused as to where I am supposed to add the cacti install directory in the config file.
I used the pre-patched files and just overwrote everything. I'm running OpenSUSE 10.1, Apache2, PHP5, MySQL.
Here is a snippet of ./cacti/include/config.php:
Code: Select all
$URL_PATH = '';
for($i = count($a) - 2; $i > -1; --$i) {
$URL_PATH .= '../';
if ($a[$i] === 'plugins') {
break;
}
}
$config['url_path'] = implode('/', array_slice($a, 0, $i)) . '/';
define('URL_PATH', $config['url_path']);
Here is what the cactiuser said to use (Example):
Code: Select all
$config['url_path'] = "/projects/cacti/testing/";
My question is, where do I put the url path?
My url path is /srv/www/htdocs/cacti by the way.