Remove usage of $_ENV
This commit is contained in:
parent
9935122b67
commit
88fd8c701e
@ -226,7 +226,7 @@ print '<td> </td>';
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
// Chemin du binaire genbarcode sous linux
|
// Chemin du binaire genbarcode sous linux
|
||||||
if (!isset($_ENV['windir']) && !file_exists($_ENV['windir']))
|
if (! isset($_SERVER['WINDIR']))
|
||||||
{
|
{
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print '<form method="post" action="'.$_SERVER["PHP_SELF"].'">';
|
print '<form method="post" action="'.$_SERVER["PHP_SELF"].'">';
|
||||||
|
|||||||
@ -93,7 +93,7 @@ class modPhpbarcode extends ModeleBarCode
|
|||||||
*/
|
*/
|
||||||
function buildBarCode($code,$encoding,$readable='Y')
|
function buildBarCode($code,$encoding,$readable='Y')
|
||||||
{
|
{
|
||||||
global $_GET,$_ENV,$_SERVER;
|
global $_GET,$_SERVER;
|
||||||
global $conf;
|
global $conf;
|
||||||
global $genbarcode_loc, $bar_color, $bg_color, $text_color, $font_loc;
|
global $genbarcode_loc, $bar_color, $bg_color, $text_color, $font_loc;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user