mirror of
https://github.com/Nathanwoodburn/hnschat-web.git
synced 2025-12-06 08:42:59 +11:00
v2
This commit is contained in:
6
etc/config.php
Normal file
6
etc/config.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$json = json_decode(file_get_contents(__DIR__."/config.json"), true);
|
||||
foreach ($json as $key => $value) {
|
||||
$GLOBALS[$key] = $value;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user