Changed to d2im.conf and D2IM

This commit is contained in:
Hash Borgir 2021-03-23 03:38:16 -06:00
parent 6071797be5
commit dd1c6c1e9c
3 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -23,7 +23,7 @@
ini_set('display_errors', 1); ini_set('display_errors', 1);
ini_set('log_errors', 1); ini_set('log_errors', 1);
$filename = 'd2um.conf'; $filename = 'd2im.conf';
if (file_exists($filename)) { if (file_exists($filename)) {

View File

@ -27,10 +27,10 @@ if (!empty($_POST)) {
$path = rtrim($_POST['path'], "\\"); $path = rtrim($_POST['path'], "\\");
$path = str_replace("\\", "\\\\", $path); $path = str_replace("\\", "\\\\", $path);
$path .= '\\\\data\\\\global\\\\excel\\\\'; $path .= '\\\\data\\\\global\\\\excel\\\\';
file_put_contents("../d2um.conf", $path); file_put_contents("../d2im.conf", $path);
} else { } else {
file_put_contents("../d2um.conf", $_POST['path'].DIRECTORY_SEPARATOR); file_put_contents("../d2im.conf", $_POST['path'].DIRECTORY_SEPARATOR);
} }
header('Location: /'); header('Location: /');