forked from tohe/wmdeit_kaform
Merge branch 'master' of https://srcsrv.wikimedia.de/tohe/wmdeit_kaform
This commit is contained in:
commit
5c0e5ab2b8
|
@ -2,6 +2,7 @@
|
||||||
session_start();
|
session_start();
|
||||||
|
|
||||||
#error_log("Here is upload.php");
|
#error_log("Here is upload.php");
|
||||||
|
include "config.php";
|
||||||
|
|
||||||
file_put_contents("/tmp/log.txt", "uploadder\n", FILE_APPEND | LOCK_EX);
|
file_put_contents("/tmp/log.txt", "uploadder\n", FILE_APPEND | LOCK_EX);
|
||||||
|
|
||||||
|
@ -54,7 +55,7 @@ foreach ($_FILES as $key=>$files){
|
||||||
|
|
||||||
$_SESSION['files'][$tmpname]['content']=file_get_contents($tmpfname);
|
$_SESSION['files'][$tmpname]['content']=file_get_contents($tmpfname);
|
||||||
$_SESSION['files'][$tmpname]['row']=$_GET['row'];
|
$_SESSION['files'][$tmpname]['row']=$_GET['row'];
|
||||||
unlink ($tmpfname);
|
# unlink ($tmpfname);
|
||||||
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue