function __get_firestats_path()
{
if (!__firestats_installed_in_gregarius())
{
$path = rss_plugins_get_option('firestats.path');
if ($path == null || $path = '')
{
echo 'You need to configure the FireStats plugin in the plugins screen
';
return false;
}
else
if (!file_exists($path.'/php/db-hit.php'))
{
echo "FireStats was not detected at $path
";
return false;
}
else
{
return $path;
}
}
else
{
return dirname(__FILE__);
}
}