Automatically detected and set Filemanager timezone

Version 1.51


Because the FileManager is chrooted, it cannot read the /etc/localtime file. We had cerated the fm_hour_offset variable which could be manually set. This addition simply does 2 time checks, one before, and one after the chroot, to detect the offset, and will automatically set the fm_hour_offset variable. The fm_hour_offset must be set to its default state of 0 in order for this to have an effect. Debut 2500 will show this if it's doing anything: Filemanager: timezone offset detected. Setting fm_hour_offset=-6

Interested to try DirectAdmin? Get a 30-day Free Trial!