Example #1
0
 * @author    Roberto L. Machado <linux.rlm at gmail dot com>
 *
 *          CONTRIBUIDORES (por ordem alfabetica):
 *              Clauber Santos <cload_info at yahoo dot com dot br>
 *              Leandro C. Lopez <*****@*****.**>
 * 
**/
if (!defined('PATH_NFEPHP')) {
    define('PATH_NFEPHP', dirname(dirname(__FILE__)));
}
error_reporting(E_ALL);
ini_set('display_errors', 'On');
require_once '../bootstrap.php';
use NFePHP\Common\Configure\Configure;
use NFePHP\Common\Files\FilesFolders;
$htmod = Configure::chkModules();
//variaveis da configuraĆ§Ć£o
$tpAmb = 2;
$pathXmlUrlFileNFe = 'nfe_ws3_mod55.xml';
$pathXmlUrlFileCTe = 'cte_ws2.xml';
$pathXmlUrlFileMDFe = 'mdf2_ws1.xml';
$pathXmlUrlFileCLe = '';
$pathXmlUrlFileNFSe = '';
$pathNFeFiles = '';
$pathCTeFiles = '';
$pathMDFeFiles = '';
$pathCLeFiles = '';
$pathNFSeFiles = '';
$pathCertsFiles = PATH_NFEPHP . DIRECTORY_SEPARATOR . 'certs' . DIRECTORY_SEPARATOR;
$siteUrl = str_replace('index.php', '', 'http://' . $_SERVER["SERVER_NAME"] . $_SERVER["SCRIPT_NAME"]);
$schemesNFe = 'PL_008i2';