Removed unused getdisk() and mntpt() subs; tidy PHP version checking logic