diff --git a/modules/statistics/config-templates/statistics.php b/modules/statistics/config-templates/module_statistics.php similarity index 100% rename from modules/statistics/config-templates/statistics.php rename to modules/statistics/config-templates/module_statistics.php diff --git a/modules/statistics/docs/statistics.txt b/modules/statistics/docs/statistics.txt index 90af693175e8337823a0b278a4f055089e372cba..e8c70cf1b1ffb96fb8fb82530f0c764f9f7f981a 100644 --- a/modules/statistics/docs/statistics.txt +++ b/modules/statistics/docs/statistics.txt @@ -41,8 +41,7 @@ Here you can see that I collect statistics in one file for several installations ## Configure the statistics module -First enable the statistics module, as you enable any other -module: +First enable the statistics module, as you enable any other module: cd modules/statistics touch enable diff --git a/modules/statistics/lib/Aggregator.php b/modules/statistics/lib/Aggregator.php index 3176ca3f81f5ff05ea54e355b88ed160cedf8cde..964de2f655d69b9f73087ab4ac41bc1deef93755 100644 --- a/modules/statistics/lib/Aggregator.php +++ b/modules/statistics/lib/Aggregator.php @@ -19,7 +19,7 @@ class sspmod_statistics_Aggregator { public function __construct() { $this->config = SimpleSAML_Configuration::getInstance(); - $this->statconfig = $this->config->copyFromBase('statconfig', 'statistics.php'); + $this->statconfig = $this->config->copyFromBase('statconfig', 'module_statistics.php'); $this->statdir = $this->statconfig->getValue('statdir'); $this->inputfile = $this->statconfig->getValue('inputfile');