Just rename the readEnvFile function for testing
Until I find out how I can exclude folders from beeing deployed Update composer ingore list Add .gitattributes for ignore list
This commit is contained in:
@@ -63,7 +63,7 @@ require 'read_env_file.php';
|
||||
use gullevek\AmazonIncentives\AmazonIncentives;
|
||||
|
||||
// load env data with dotenv
|
||||
readEnvFile(__DIR__);
|
||||
__readEnvFile(__DIR__);
|
||||
|
||||
print "<h1>Amazon Gift Card Incentives</h1><br>";
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
* 2 for file not readable
|
||||
* 3 for file not found
|
||||
*/
|
||||
function readEnvFile(string $path = __DIR__, string $env_file = '.env'): int
|
||||
function __readEnvFile(string $path = __DIR__, string $env_file = '.env'): int
|
||||
{
|
||||
// default -1;
|
||||
$status = -1;
|
||||
|
||||
Reference in New Issue
Block a user