Merge branch 'master' of https://srcsrv.wikimedia.de/tohe/wmdeit_kaform
This commit is contained in:
commit
5c0e5ab2b8
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue