Convert cmd in config.php not ignored
This commit is contained in:
parent
c535d2a060
commit
e2513081f0
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