diff --git a/.d2um.conf.kate-swp b/.d2um.conf.kate-swp deleted file mode 100644 index 5c4723c..0000000 Binary files a/.d2um.conf.kate-swp and /dev/null differ diff --git a/index.php b/index.php index de022a3..13dab06 100644 --- a/index.php +++ b/index.php @@ -23,7 +23,7 @@ ini_set('display_errors', 1); ini_set('log_errors', 1); -$filename = 'd2um.conf'; +$filename = 'd2im.conf'; if (file_exists($filename)) { diff --git a/src/D2Config.php b/src/D2Config.php index cb37a7b..ff34e1b 100644 --- a/src/D2Config.php +++ b/src/D2Config.php @@ -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: /');