Correct small bugs for javascript

Use of $_ENV[TMP]
Correct trigger jrnx_ins
This commit is contained in:
Dany De Bontridder 2016-03-24 20:11:51 +01:00
parent 43d7fe92fc
commit 8eefde1dad
5 changed files with 4 additions and 3 deletions

View file

@ -192,7 +192,7 @@ class Document
$h=fopen($infile_name,"r");
// check if tmpdir exist otherwise create it
$temp_dir=$_SERVER["DOCUMENT_ROOT"].DIRECTORY_SEPARATOR.'tmp';
$temp_dir=$_ENV['TMP'];
if ( is_dir($temp_dir) == false )
{
if ( mkdir($temp_dir) == false )