Correct small bugs for javascript
Use of $_ENV[TMP] Correct trigger jrnx_ins
This commit is contained in:
parent
43d7fe92fc
commit
8eefde1dad
5 changed files with 4 additions and 3 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue