Skip to content

Commit

Permalink
chore: adicionar camiinho absoluto para chamada do vendor dentro da c…
Browse files Browse the repository at this point in the history
…lass
  • Loading branch information
Glaydson Rodrigues committed Dec 6, 2024
1 parent 82a5761 commit 9b5ff65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rn/ProcessoEletronicoRN.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

require_once __DIR__ . '/../vendor/autoload.php';
$dirSeiVendor = !defined("DIR_SEI_VENDOR") ? getenv("DIR_SEI_VENDOR") ?: __DIR__ . "/../vendor" : DIR_SEI_VENDOR;
require_once $dirSeiVendor . '/autoload.php';

use GuzzleHttp\Client;
use GuzzleHttp\Exception\RequestException;
Expand Down

0 comments on commit 9b5ff65

Please sign in to comment.