[med-svn] r658 - in trunk/community/website: . inc
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Sat Oct 6 16:37:19 UTC 2007
Author: hanska-guest
Date: 2007-10-06 16:37:19 +0000 (Sat, 06 Oct 2007)
New Revision: 658
Modified:
trunk/community/website/inc/dynlocale.inc.php
trunk/community/website/index.php
Log:
Adding some debug info
Modified: trunk/community/website/inc/dynlocale.inc.php
===================================================================
--- trunk/community/website/inc/dynlocale.inc.php 2007-10-06 16:35:58 UTC (rev 657)
+++ trunk/community/website/inc/dynlocale.inc.php 2007-10-06 16:37:19 UTC (rev 658)
@@ -42,6 +42,8 @@
// let's sort them by priority, highest first
krsort($langs);
+$__debug = $_SERVER["PHP_SELF"];
+
if ($fp = fopen("./inc/locales.txt", "r", true)) {
while (!feof($fp)) {
$raw .= fgets($fp, 4096);
Modified: trunk/community/website/index.php
===================================================================
--- trunk/community/website/index.php 2007-10-06 16:35:58 UTC (rev 657)
+++ trunk/community/website/index.php 2007-10-06 16:37:19 UTC (rev 658)
@@ -13,6 +13,8 @@
</div>
<div class="row">
<?=_("The Debian-Med project presents packages that are associated with <ul><li>medicine</li><li>pre-clinical research</li><li>life science.</li></ul> Its developments are mostly focused on three areas for the moment: <ul><li>medical practice</li><li>imaging</li><li>bioinformatics.</li></ul>")?>
+ <br />
+ <?=$__debug?>
</div>
<?php
if ($show_locale_warning) {
More information about the debian-med-commit
mailing list