Add option to move data root
This commit is contained in:
@ -2,7 +2,9 @@
|
||||
/* Copyright (C) 2021 Alexander Rosenberg
|
||||
* This file is AGPL v3. See LICENSE file for more information
|
||||
*/
|
||||
const CONFIG_PATH = 'config.json';
|
||||
require 'options.php';
|
||||
|
||||
const CONFIG_PATH = AM_OPTIONS['root'] . '/config.json';
|
||||
|
||||
function display_error_message($msg, $html_tags = '') {
|
||||
echo '<div ' . $html_tags . ' class=".error-message">' . htmlspecialchars($msg, ENT_QUOTES | ENT_HTML5) . '</div>';
|
||||
|
Reference in New Issue
Block a user