You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
437 B
PHP
20 lines
437 B
PHP
<?php
|
|
|
|
class Settings
|
|
{
|
|
private $folks;
|
|
private $tags;
|
|
private $settings;
|
|
|
|
public function __construct()
|
|
{
|
|
//gets all settings files and converts to php objects
|
|
$this->folks = json_decode(file_get_contents("config/folks.json"), true);
|
|
$this->tags = json_decode(file_get_contents("config/tags.json"), true);
|
|
$this->settings = json_decode(
|
|
file_get_contents("config/settings.json"),
|
|
true
|
|
);
|
|
}
|
|
}
|