mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2024-12-29 10:56:12 +00:00
13 lines
542 B
PHP
13 lines
542 B
PHP
<?php
|
|
/*
|
|
|-------------------------------------------------------------
|
|
| Settings (decode)
|
|
|-------------------------------------------------------------
|
|
| This is for decoding the settings Json, used throughout
|
|
| most of the website. Used for settings things such as
|
|
| the default background and accent colour
|
|
|-------------------------------------------------------------
|
|
*/
|
|
$user_import = file_get_contents(__DIR__."/manifest.json");
|
|
$user_settings = json_decode($user_import, true);
|
|
$upload_conf = $user_settings["upload"]; |