noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 133/323: Fix bug for updating


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 133/323: Fix bug for updating
Date: Wed, 14 Mar 2018 17:38:38 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit d76996f51e42c0ff41d41f5c3b3671e2e9755480
Author: Dany De Bontridder <address@hidden>
Date:   Tue Feb 6 22:02:37 2018 +0100

    Fix bug for updating
---
 html/do.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/do.php b/html/do.php
index 2125c71..6714502 100644
--- a/html/do.php
+++ b/html/do.php
@@ -196,7 +196,7 @@ if (DBVERSION > dossier::get_version($cn))
 {
     echo '<h2 class="error" style="font-size:12px">' . _("Votre base de 
données n'est pas à jour") . '   ';
     $a = _("cliquez ici pour appliquer le patch");
-    $base = dirname($_SERVER['SCRIPT_NAME']);
+    $base = dirname($_SERVER['REQUEST_URI']);
     if ($base == '/') { $base = ''; }
     $base .= '/admin-noalyss.php';
     echo '<a hreF="' . $base . '">' . $a . '</a></h2>';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]