Welcome Guest, Not a member yet? Register   Sign In
CI4 Multiple app and env file
#2

Is correctly if I add before class initialization : 
PHP Code:
if (file_exists(APPPATH 'Config/' ENVIRONMENT '/namefile.php'))
{
    require 
APPPATH 'Config/' ENVIRONMENT '/namefile.php';
} else { ... } 

? thanks...
Reply


Messages In This Thread
RE: CI4 Multiple app and env file - by carmine.milieni - 09-06-2019, 11:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB