mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-11-30 04:26:03 +00:00
Changed to d2im.conf and D2IM
This commit is contained in:
parent
6071797be5
commit
dd1c6c1e9c
Binary file not shown.
@ -23,7 +23,7 @@
|
||||
ini_set('display_errors', 1);
|
||||
ini_set('log_errors', 1);
|
||||
|
||||
$filename = 'd2um.conf';
|
||||
$filename = 'd2im.conf';
|
||||
|
||||
if (file_exists($filename)) {
|
||||
|
||||
|
@ -27,10 +27,10 @@ if (!empty($_POST)) {
|
||||
$path = rtrim($_POST['path'], "\\");
|
||||
$path = str_replace("\\", "\\\\", $path);
|
||||
$path .= '\\\\data\\\\global\\\\excel\\\\';
|
||||
file_put_contents("../d2um.conf", $path);
|
||||
file_put_contents("../d2im.conf", $path);
|
||||
} else {
|
||||
|
||||
file_put_contents("../d2um.conf", $_POST['path'].DIRECTORY_SEPARATOR);
|
||||
file_put_contents("../d2im.conf", $_POST['path'].DIRECTORY_SEPARATOR);
|
||||
}
|
||||
|
||||
header('Location: /');
|
||||
|
Loading…
Reference in New Issue
Block a user