mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-11-30 12:36:03 +00:00
latest copy
This commit is contained in:
parent
f14140fc72
commit
91c531be73
@ -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: /');
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user