mirror of
https://github.com/daledavies/jump.git
synced 2026-01-10 09:22:06 +01:00
Correct sitesfile location config entry
This commit is contained in:
@@ -25,7 +25,7 @@ class Config {
|
||||
'backgroundsdir' => '/assets/backgrounds',
|
||||
'defaulticonpath' => '/assets/images/default-icon.png',
|
||||
'sitesdir' => '/sites',
|
||||
'sitesfile' => 'sites.json',
|
||||
'sitesfile' => '/sites/sites.json',
|
||||
'templatedir' => '/templates',
|
||||
];
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class Sites {
|
||||
public function __construct(Config $config, Cache $cache) {
|
||||
$this->config = $config;
|
||||
$this->loadedsites = [];
|
||||
$this->sitesfilelocation = $this->config->get('sitesdir').'/'.$this->config->get('sitesfile');
|
||||
$this->sitesfilelocation = $this->config->get('sitesfile');
|
||||
$this->cache = $cache;
|
||||
$this->load_sites_from_json();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user