File: 0003-Fix-displayed-version-in-the-private-interface.patch

package info (click to toggle)
spip 4.4.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,760 kB
  • sloc: php: 299,702; javascript: 67,900; xml: 4,388; sh: 165; makefile: 92
file content (28 lines) | stat: -rw-r--r-- 1,054 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffif@debian.org>
Date: Sun, 3 Nov 2013 11:39:48 -0400
Subject: Fix displayed version in the private interface
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Make it obvious it’s a Debian (patched) version.

Forwarded: not-needed
Last-Update: 2013-05-24
---
 ecrire/inc_version.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc_version.php b/ecrire/inc_version.php
index 5433861..3d64777 100644
--- a/ecrire/inc_version.php
+++ b/ecrire/inc_version.php
@@ -462,7 +462,7 @@ $spip_sql_version = 1;
 // version de spip en chaine
 // 1.xxyy : xx00 versions stables publiees, xxyy versions de dev
 // (ce qui marche pour yy ne marchera pas forcement sur une version plus ancienne)
-$spip_version_affichee = "$spip_version_branche";
+$spip_version_affichee = "@VERSION@";
 
 // ** Securite **
 $visiteur_session = $auteur_session = $connect_statut = $connect_toutes_rubriques = $hash_recherche = $hash_recherche_strict = $ldap_present = '';