Since the upgrade command was not using env.ini, some warnings were raised because of missing timezone information. Moving this code to paths.php makes sure env.ini will be used even for upgrades.
Since the upgrade command was not using env.ini, some warnings were raised because of missing timezone information. Moving this code to paths.php makes sure env.ini will be used even for upgrades.