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
|
|
@ -68,7 +68,7 @@ class Sort_Table
|
|||
{
|
||||
if ($p_ind < 0 || $p_ind > $this->nb)
|
||||
return 'ERREUR TRI';
|
||||
$file = str_replace('extension.php', '', $_SERVER['SCRIPT_FILENAME']);
|
||||
$file = str_replace('extension.php', '', $_SERVER['PHP_SELF']);
|
||||
|
||||
$base = $this->array[$p_ind]['url'];
|
||||
$str = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue