2
0
forked from Wavyzz/dolibarr

Fix: Do not use $_ENV anymore.

This commit is contained in:
Laurent Destailleur
2010-04-18 16:08:53 +00:00
parent 27acaefb6c
commit 149d6ae8dd
3 changed files with 5 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ if (isset($_SERVER['WINDIR']) && @file_exists($_SERVER['WINDIR'])){
* genbarcode is needed to render encodings other than EAN-12/EAN-13/ISBN
*/
// DOL_CHANGE LDR
if (isset($_SERVER['WINDIR']) && @file_exists($_SERVER['WINDIR']))
if (isset($_SERVER['WINDIR']) && empty($conf->global->GENBARCODE_LOCATION))
{
$genbarcode_loc = DOL_DOCUMENT_ROOT.'/includes/barcode/php-barcode/genbarcode/genbarcode.exe';
}