incorrect path to template files

init process was looking for template settings file in incorrect
location. fixed
This commit is contained in:
ro 2024-06-02 21:04:42 -06:00
parent 787c00a75b
commit 2f405ffb6d
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50

View file

@ -50,12 +50,13 @@ class InitService
public function fresh($body)
{
//grab template files
//TODO: Remove hardcoded link and set up init path in settings
$newFolks = json_decode(
file_get_contents('../content/config/init/folks-template.json'),
file_get_contents('../content/init/folks-template.json'),
true
);
$newSettings = json_decode(
file_get_contents('../content/config/init/settings-template.json'),
file_get_contents('../content/init/settings-template.json'),
true
);
//get form values