Fix NL's footer links (baseurl is not defined when running a script from a shell)
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 10 Oct 2006 08:29:32 +0000 (08:29 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Tue, 10 Oct 2006 08:29:32 +0000 (08:29 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@959 839d8a87-29fc-0310-9880-83ba4fa771e5

include/newsletter.inc.php

index 5d81fa3..16c7577 100644 (file)
@@ -183,7 +183,7 @@ class NewsLetter
     function footer($html)
     {
         global $globals;
-        $url = $globals->baseurl;
+        $url = 'https://www.polytechnique.org';
 
        if ($html) {
            return '<div class="foot">Cette lettre est envoyée à tous les Polytechniciens sur Internet par l\'intermédiaire de Polytechnique.org.</div>'