Welcome Guest, Not a member yet? Register   Sign In
Dependable systempath

I have two develop machines and one on line server.
On the develop machines I use composer while on the on line server I use the tarball codeigniter installation.
I'm asking if there is an elegant way to modify 

PHP Code:
class Paths

string $systemDirectory __DIR__ '/../../vendor/codeigniter4/framework/system'

based on .env file
PHP Code:
CI_ENVIRONMENT development 

for example, is possible to set $systemDirectory in the same .env file?
or, alternatevly, on the files in Config/Boot ?

Thank you

The Path file is loaded first of all.
So you cannot use .env file. It is not loaded yet.

I don't think the problem will arise if you use source code with vendor/ in the production environment.

Theme © iAndrew 2016 - Forum software by © MyBB