Fixed some bugs + function to add array with headers
Fixed some bugs + function to add array with headers

ahmedyassinamr/framework,capps1994/framework,pacozaa/framework,mxloco/framework,geomorillo/framework,danvers/enrollment-tool,kowston/v2,tomvlk/php-framework,LuckyCyborg/simple-mvc-framework,raffe90/seminario_mvc,enjoy2000/framework,danvers/enrollment-tool,danvers/enrollment-tool,simple-mvc-framework/framework,XTRO123/framework,nova-framework/framework,LuckyCyborg/framework,nova-framework/framework,nekomajin/framework,lcscgit/framework,LuckyCyborg/simple-mvc-framework,lcscgit/framework,tomvlk/php-framework,XTRO123/framework,enjoy2000/framework,OmarElGabry/framework,pacozaa/framework,ennerperez/simple-mvc-framework,mxloco/framework,nekomajin/framework,OmarElGabry/framework,geomorillo/framework,raffe90/seminario_mvc,it4workflow/osmpoll,volter9/framework-1,capps1994/framework,XTRO123/framework,LuckyCyborg/framework,ahmedyassinamr/framework,tonyle/tonyframework,simple-mvc-framework/framework,raffe90/seminario_mvc,geomorillo/framework,LuckyCyborg/simple-mvc-framework,kowston/v2,ennerperez/simple-mvc-framework,it4workflow/osmpoll,raffe90/seminario_mvc,LuckyCyborg/simple-mvc-framework,it4workflow/osmpoll,volter9/framework-1,tonyle/tonyframework,tonyle/tonyframework