tdo not show full path in wait_id - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
(HTM) git clone git://src.adamsgaard.dk/cosmo
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5ec480ba5d329eacd0dbdc991975fc09347cbc06
(DIR) parent bed27be9bea08c44a18a21747dc8a6969838a718
(HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 28 Sep 2015 13:55:57 +0200
do not show full path in wait_id
Diffstat:
M uploadhistory.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/uploadhistory.php b/uploadhistory.php
t@@ -196,6 +196,6 @@ if (!chmod($outputfile, 0777)) {
// Finally redirect user after processing uploaded data. This header function
// call must be before any output!
//header("Location: /~ad/cosmo");
-header("Location: /index.php?wait_id=". $outputfile);
+header("Location: /index.php?wait_id=". explode("_", $outputfile)[1]);
?>