nette / bootstrap

🅱 The simple way to configure and bootstrap your Nette application.
https://doc.nette.org/bootstrap
Other
668 stars 36 forks source link

Revert "Configurator: wwwDir is NULL in CLI mode" #24

Closed fprochazka closed 10 years ago

fprochazka commented 10 years ago

This reverts commit 72906b6ee83f41d1aa52fed9221dc409d5034528.

fprochazka commented 10 years ago

FYI https://travis-ci.org/janmarek/WebLoader/jobs/37777962

dg commented 10 years ago

Tests still do not pass...

fprochazka commented 10 years ago

What about this?

dg commented 10 years ago

$_SERVER['argv'][0] is really very different to wwwDir. Would not be enough revert + fix for tests?

fprochazka commented 10 years ago

It didn't work in the cli :(

dg commented 10 years ago

If it did not work under the CLI before 72906b6, there is no need to make it work now.