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:
sparkyx 2021-01-12 11:11:11 +01:00
parent 986e1a10b9
commit c7c518a19d
12 changed files with 1242 additions and 1092 deletions

View file

@ -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 */