Gentoo Archives: gentoo-commits

From: "Tom Knight (tomk)" <tomk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in forums/htdocs/includes: functions.php
Date: Thu, 01 Dec 2011 09:59:29
Message-Id: 20111201095917.BFAD620034@flycatcher.gentoo.org
1 tomk 11/12/01 09:59:17
2
3 Modified: functions.php
4 Log:
5 prevent php parse error
6
7 Revision Changes Path
8 1.34 forums/htdocs/includes/functions.php
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/functions.php?rev=1.34&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/functions.php?rev=1.34&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/forums/htdocs/includes/functions.php?r1=1.33&r2=1.34
13
14 Index: functions.php
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/forums/htdocs/includes/functions.php,v
17 retrieving revision 1.33
18 retrieving revision 1.34
19 diff -u -r1.33 -r1.34
20 --- functions.php 30 Nov 2011 10:33:44 -0000 1.33
21 +++ functions.php 1 Dec 2011 09:59:17 -0000 1.34
22 @@ -7,7 +7,7 @@
23 * copyright : (C) 2001 The phpBB Group
24 * email : support@×××××.com
25 *
26 - * $Id: functions.php,v 1.33 2011/11/30 10:33:44 tomk Exp $
27 + * $Id: functions.php,v 1.34 2011/12/01 09:59:17 tomk Exp $
28 *
29 *
30 ***************************************************************************/
31 @@ -1202,11 +1202,11 @@
32 document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
33 </script><script type="text/javascript">
34 try {
35 -var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", $board_config['piwik_site_id']);
36 +var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", {$board_config['piwik_site_id']});
37 piwikTracker.trackPageView();
38 piwikTracker.enableLinkTracking();
39 } catch( err ) {}
40 -</script><noscript><p><img src="http://piwik.gentoo.org/piwik.php?idsite=" . $board_config['piwik_site_id'] style="border:0" alt="" /></p></noscript>
41 +</script><noscript><p><img src="http://piwik.gentoo.org/piwik.php?idsite={$board_config['piwik_site_id']}" style="border:0" alt="" /></p></noscript>
42 <!-- End Piwik Tracking Code -->
43 EOD;
44 }