[med-svn] r562 - trunk/community/website/inc

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Thu Oct 4 18:49:32 UTC 2007


Author: hanska-guest
Date: 2007-10-04 18:49:32 +0000 (Thu, 04 Oct 2007)
New Revision: 562

Modified:
   trunk/community/website/inc/locale.inc.php
Log:
Maybe the cache?


Modified: trunk/community/website/inc/locale.inc.php
===================================================================
--- trunk/community/website/inc/locale.inc.php	2007-10-04 18:47:36 UTC (rev 561)
+++ trunk/community/website/inc/locale.inc.php	2007-10-04 18:49:32 UTC (rev 562)
@@ -11,6 +11,7 @@
 $available = array();
 $handle = opendir($locales_dir) or die("Cannot open $locales_dir.\n");
 while ($file = readdir($handle)) {
+	clearstatcache();
 	if ($file != "." && $file != "..") {
 		if (is_dir($file))
 			$available[] = $file;




More information about the debian-med-commit mailing list