CMXX - Placeorder initial version
This commit is contained in:
@@ -63,7 +63,7 @@ if (!empty($_POST)) {
|
||||
$v = in_array(strtolower($v), ['true', 'false']) ? strtolower($v) : '\'' . $v . '\'';
|
||||
$contents = preg_replace('/define\(\'' . $k . '\'\, ?(.*?)\)/s', 'define(\'' . $k . '\',' . $v . ')', $contents);
|
||||
}
|
||||
file_put_contents('../config.php', $contents);
|
||||
file_put_contents('../custom/settings/config.php', $contents);
|
||||
header('Location: index.php?page=settings&success_msg=1');
|
||||
exit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user