[med-svn] r561 - trunk/community/website/inc
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Thu Oct 4 18:47:36 UTC 2007
Author: hanska-guest
Date: 2007-10-04 18:47:36 +0000 (Thu, 04 Oct 2007)
New Revision: 561
Modified:
trunk/community/website/inc/locale.inc.php
Log:
Small change, let's see if this works.
Modified: trunk/community/website/inc/locale.inc.php
===================================================================
--- trunk/community/website/inc/locale.inc.php 2007-10-04 18:46:22 UTC (rev 560)
+++ trunk/community/website/inc/locale.inc.php 2007-10-04 18:47:36 UTC (rev 561)
@@ -10,11 +10,10 @@
$available = array();
$handle = opendir($locales_dir) or die("Cannot open $locales_dir.\n");
-var_dump($handle);
while ($file = readdir($handle)) {
- var_dump($file);
- if ($file != "." && $file != ".." && is_dir($file)) {
- $available[] = $file;
+ if ($file != "." && $file != "..") {
+ if (is_dir($file))
+ $available[] = $file;
}
}
More information about the debian-med-commit
mailing list