mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-06-18 08:03:11 +00:00
Remaking file structure for easier updating
This commit is contained in:
parent
e7a2284809
commit
d897215023
17 changed files with 119 additions and 103 deletions
13
app/settings.php
Normal file
13
app/settings.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?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__."/../usr/conf/manifest.json");
|
||||
$user_settings = json_decode($user_import, true);
|
||||
$upload_conf = $user_settings["upload"];
|
Loading…
Add table
Add a link
Reference in a new issue