implemented manually PR #3

This commit is contained in:
Andy Miller
2015-02-27 16:24:33 -07:00
parent 45e6a9bdc5
commit 91bf71eab2

View File

@@ -38,7 +38,7 @@ class Popularity
{
$this->config = self::getGrav()['config'];
$this->data_path = self::getGrav()['locator']->findResource('log://') . 'popularity';
$this->data_path = self::$grav['locator']->findResource('log://popularity', true, true);
$this->daily_file = $this->data_path.'/'.self::DAILY_FILE;
$this->monthly_file = $this->data_path.'/'.self::MONTHLY_FILE;
$this->totals_file = $this->data_path.'/'.self::TOTALS_FILE;