Bestanden uploaden naar 'scripts'

This commit is contained in:
brammp committed 2019-06-05 22:04:55 +00:00
1 parent a386bd1e70
commit 710979bda9
5 files changed
+337

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
/*
#state 0 = not running
#state 1 = now running
#state 2 = Finished without errors
#state 3 = Finished with errors
*/
<?php
$shellout = shell_exec("bash -c 'source session-state; echo \$curstate'");
if ($shellout==0) {
header('Location: check-nas.php');
}
if ($shellout==1) {
header('Location: loader-import.php');;
}
if ($shellout==2) {
header('Location: success-import.php');;
}
if ($shellout==3) {
header('Location: error-import.php');;
}
?>