[fix] adds missing global
[fix] #1545 htaccess files
[fix] cosmetic changes