code cleaning and replace $_SERVER['SCRIPT_FILENAME'] by $_SERVER['PHP_SELF']
SCRIPT_FILENAME in a FPM environment is the CGI script
This commit is contained in:
parent
986e1a10b9
commit
c7c518a19d
12 changed files with 1242 additions and 1092 deletions
|
|
@ -45,7 +45,7 @@ if ($action == 'sh')
|
|||
$d_id=$http->request('d_id',"number");
|
||||
// retrieve the document
|
||||
$doc = new Document($cn, $d_id);
|
||||
$doc->Send();
|
||||
$doc->send();
|
||||
}
|
||||
}
|
||||
/* remove the document */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue