Fix: Can't provide by default a binary program with no sources

This commit is contained in:
Laurent Destailleur 2011-08-04 12:40:17 +00:00
parent c2e71d7283
commit bae2567aee

View File

@ -20,7 +20,7 @@
/**
* \defgroup barcode Module barcode
* \brief Module pour gerer les codes barres
* \version $Id: modBarcode.class.php,v 1.28 2011/07/31 23:28:11 eldy Exp $
* \version $Id: modBarcode.class.php,v 1.29 2011/08/04 12:40:17 eldy Exp $
*/
/**
@ -70,7 +70,9 @@ class modBarcode extends DolibarrModules
// Constants
// Example: $this->const=array(0=>array('MYMODULE_MYNEWCONST1','chaine','myvalue','This is a constant to add',0),
// 1=>array('MYMODULE_MYNEWCONST2','chaine','myvalue','This is another constant to add',0) );
$this->const = array(0=>array('GENBARCODE_LOCATION','chaine',DOL_DOCUMENT_ROOT.'/includes/barcode/php-barcode/genbarcode/genbarcode','Path to genbarcode command line tool',0));
$this->const = array(
//0=>array('GENBARCODE_LOCATION','chaine',DOL_DOCUMENT_ROOT.'/includes/barcode/php-barcode/genbarcode/genbarcode','Path to genbarcode command line tool',0)
);
// Boxes
$this->boxes = array();