'/../../config/'); if (!env('DB_MASTER_HOST') && file_exists(CONFIG_CAKEPHP3 . '.env')) { $dotenv = new ¥josegonzalez¥Dotenv¥Loader([CONFIG_CAKEPHP3 . '.env']); $dotenv->parse()->putenv()->toEnv()->toServer(); } try { ¥Cake¥Core¥Configure::config( 'default', new ¥Cake¥Core¥Configure¥Engine¥PhpConfig(CONFIG_CAKEPHP3) ); ¥Cake¥Core¥Configure::load('app', 'default', false); } catch (¥Exception $e) { exit($e->getMessage() . "¥n"); } ¥Cake¥Datasource¥ConnectionManager::setConfig( 'default', ¥Cake¥Core¥Configure::read('Datasources.default') ); ¥Cake¥Cache¥Cache::setConfig( '_cake_model_', ¥Cake¥Core¥Configure::read('Cache._cake_model_') ); ¥Cake¥I18n¥I18n::setLocale(¥Cake¥Core¥Configure::read('App.defaultLocale')); Add Config of CakePHP 3