incorrect path to template files
init process was looking for template settings file in incorrect location. fixed
This commit is contained in:
parent
787c00a75b
commit
2f405ffb6d
1 changed files with 3 additions and 2 deletions
|
@ -50,12 +50,13 @@ class InitService
|
||||||
public function fresh($body)
|
public function fresh($body)
|
||||||
{
|
{
|
||||||
//grab template files
|
//grab template files
|
||||||
|
//TODO: Remove hardcoded link and set up init path in settings
|
||||||
$newFolks = json_decode(
|
$newFolks = json_decode(
|
||||||
file_get_contents('../content/config/init/folks-template.json'),
|
file_get_contents('../content/init/folks-template.json'),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$newSettings = json_decode(
|
$newSettings = json_decode(
|
||||||
file_get_contents('../content/config/init/settings-template.json'),
|
file_get_contents('../content/init/settings-template.json'),
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
//get form values
|
//get form values
|
||||||
|
|
Loading…
Reference in a new issue