From fdf58ef92a0b69f93bd08e22be831aa8172bfe62 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 27 Mar 2007 19:08:15 +0000 Subject: [PATCH] Skip .svn dir. Leaving CVS dir in case it is left over in some people's downloaded locale packages. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12351 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- include/languages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/languages.php b/include/languages.php index c6b93a5a..0fbcc34d 100644 --- a/include/languages.php +++ b/include/languages.php @@ -1002,7 +1002,7 @@ if (is_dir(SM_PATH . 'locale') && $lang_dir = substr($lang_dir,0,-1); } if ($lang_dir != '..' && $lang_dir != '.' && $lang_dir != 'CVS' && - is_dir(SM_PATH.'locale/'.$lang_dir) && + $lang_dir != '.svn' && is_dir(SM_PATH.'locale/'.$lang_dir) && file_exists(SM_PATH.'locale/'.$lang_dir.'/setup.php')) { include_once(SM_PATH.'locale/'.$lang_dir.'/setup.php'); } -- 2.25.1