mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 08:45:43 +02:00
Fixed route and blueprints locator stream.
This commit is contained in:
@@ -38,7 +38,7 @@ class Popularity
|
||||
{
|
||||
$this->config = self::$grav['config'];
|
||||
|
||||
$this->data_path = LOG_DIR . 'popularity';
|
||||
$this->data_path = self::$grav['locator']->findResource('log://') . 'popularity';
|
||||
$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;
|
||||
|
||||
Reference in New Issue
Block a user