latest copy

This commit is contained in:
color.diff=auto 2021-03-22 03:49:32 -06:00
parent f14140fc72
commit 91c531be73

View File

@ -1,6 +1,13 @@
<?php
if (!empty($_POST)) {
if (DIRECTORY_SEPARATOR === '/') {
file_put_contents("../d2um.conf", $_POST['path'].DIRECTORY_SEPARATOR);
}
if (DIRECTORY_SEPARATOR === '\\') {
file_put_contents("../d2um.conf", $_POST['path'].DIRECTORY_SEPARATOR.'data'.DIRECTORY_SEPARATOR.'global'.DIRECTORY_SEPARATOR.'excel'.DIRECTORY_SEPARATOR);
}
header('Location: /');
}
?>