Changes between Version 10 and Version 11 of jazz/Trac_Updates


Ignore:
Timestamp:
Jun 9, 2009, 8:08:18 AM (15 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/Trac_Updates

    v10 v11  
    117117 * 安裝 [http://piwik piwik] 來統計檔案下載次數
    118118{{{
    119 # apt-get install php5-mysql php5-gd libsparkline-php
     119# apt-get install php5-mysql php5-gd libsparkline-php mysql-server phpmyadmin
    120120# apache2ctl restart
    121121# cd /var/www/
     
    124124/var/www# chown -R www-data:www-data piwik/
    125125}}}
     126{{{
     127<!-- Piwik -->
     128<script type="text/javascript">
     129var pkBaseURL = (("https:" == document.location.protocol) ? "https://classcloud.org/piwik/" : "http://classcloud.org/piwik/");
     130document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
     131</script><script type="text/javascript">
     132try {
     133var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
     134piwikTracker.trackPageView();
     135piwikTracker.enableLinkTracking();
     136} catch( err ) {}
     137</script>
     138<!-- End Piwik Tag -->
     139}}}