if(is_file(get_file_base().'/'.$lang_type.'/'.$lang.'/critical_error.ini')){// Make sure it's a reasonable looking pack, not just a stub (Google Translate addon can be made to go nuts otherwise)
if((is_file(get_file_base().'/lang/'.$lang.'/critical_error.ini'))||(is_file(get_file_base().'/lang_custom/'.$lang.'/critical_error.ini'))){// Make sure it's a reasonable looking pack, not just a stub (Google Translate addon can be made to go nuts otherwise)
if(is_file(get_file_base().'/'.$lang_type.'/'.$lang.'/critical_error.ini')){// Make sure it's a reasonable looking pack, not just a stub
if((is_file(get_file_base().'/lang/'.$lang.'/critical_error.ini'))||(is_file(get_file_base().'/lang_custom/'.$lang.'/critical_error.ini'))){// Make sure it's a reasonable looking pack, not just a stub (Google Translate addon can be made to go nuts otherwise)