[Swift-commit] r4937 - wwwdev/usage
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Wed Aug 3 09:22:32 CDT 2011
Author: davidk
Date: 2011-08-03 09:22:32 -0500 (Wed, 03 Aug 2011)
New Revision: 4937
Modified:
wwwdev/usage/update_data.php
Log:
Path corrections
Modified: wwwdev/usage/update_data.php
===================================================================
--- wwwdev/usage/update_data.php 2011-08-03 13:48:41 UTC (rev 4936)
+++ wwwdev/usage/update_data.php 2011-08-03 14:22:32 UTC (rev 4937)
@@ -158,7 +158,7 @@
# Unique users per month
-$users_per_month_file = fopen("/home/davidk/public_html/usage/users_per_month.xml", 'w');
+$users_per_month_file = fopen("users_per_month.xml", 'w');
fwrite($users_per_month_file, "<chart>\n<chart_label position='over' size='12' color='000000' alpha='90'/>\n<axis_category size='12' />\n<axis_value size='12' />\n<chart_data>\n<row>\n<null/>\n");
foreach($months as $key => $value) {
fwrite($users_per_month_file, "<string>$key</string>\n");
@@ -171,7 +171,7 @@
fclose($users_per_month_file);
# New users per month
-$new_users_per_month_file = fopen("/home/davidk/public_html/usage/new_users_per_month.xml", 'w');
+$new_users_per_month_file = fopen("new_users_per_month.xml", 'w');
fwrite($new_users_per_month_file, "<chart>\n<chart_label position='over' size='12' color='000000' alpha='90'/>\n<axis_category size='12' />\n<axis_value size='12' />\n<chart_data>\n<row>\n<null/>\n");
foreach($months as $key => $value) {
fwrite($new_users_per_month_file, "<string>$key</string>\n");
More information about the Swift-commit
mailing list