Fixed .php and .tpl auto mode list