Not getting in getenv
Closed this issue · 8 comments
harikt commented
<?php
$loader = new josegonzalez\Dotenv\Loader(__DIR__ . '/.env');
// Parse the .env file
$loader->parse();
// Send the parsed .env file to the $_ENV variable
$loader->toEnv(true);
$loader->toServer(true);
echo ' ffv ' . getenv('HELLO');
var_dump($_ENV);
Used php's local server itself.
josegonzalez commented
Interesting. Is that the case for the non-php server as well?
harikt commented
Yes confirm same with Apache.
josegonzalez commented
Can you make a PR with failing tests? It looks like it works for $_ENV
...
harikt commented
@mbrevda once @josegonzalez merge he will be able to close it. The issue is still not resolved in master right ?
mbrevda commented
ah - ok
On Fri Dec 12 2014 at 12:44:23 PM Hari K T notifications@github.com wrote:
@mbrevda https://github.com/mbrevda once @josegonzalez
https://github.com/josegonzalez merge he will be able to close it. The
issue is still not resolved in master right ?—
Reply to this email directly or view it on GitHub
#7 (comment)
.