/**
* Handles some basic app and environment setup.
*/
public function initialize()
{
// Set default locale on the server
// John ADDED FOLLOWING CHECK BECAUSE STILL TO BE SET ON MY SYSTEM
if( function_exists('locale_set_default' ) ) :
locale_set_default($this->config->defaultLocale ?? 'en');
endif;