From: <pss...@us...> - 2012-02-28 20:44:14
|
Revision: 8106 http://planeshift.svn.sourceforge.net/planeshift/?rev=8106&view=rev Author: psshared Date: 2012-02-28 20:44:08 +0000 (Tue, 28 Feb 2012) Log Message: ----------- fixed access to files Modified Paths: -------------- www/gmconsole/economylogs.php www/gmconsole/exchangelogs.php www/gmconsole/stucklogs.php Modified: www/gmconsole/economylogs.php =================================================================== --- www/gmconsole/economylogs.php 2012-02-27 13:56:09 UTC (rev 8105) +++ www/gmconsole/economylogs.php 2012-02-28 20:44:08 UTC (rev 8106) @@ -35,7 +35,7 @@ <table class=\"sortable\"> <?php $date = (isset($_GET['date']) ? $_GET['date'] : '-1 week'); -$file = fopen("../../psserver/planeshift/logs/economy.csv", "r"); +$file = fopen("logs/economy.csv", "r"); echo "<tr><th>"; $headerLine = fgets($file); echo str_replace(",", "</th><th>", $headerLine); Modified: www/gmconsole/exchangelogs.php =================================================================== --- www/gmconsole/exchangelogs.php 2012-02-27 13:56:09 UTC (rev 8105) +++ www/gmconsole/exchangelogs.php 2012-02-28 20:44:08 UTC (rev 8106) @@ -35,7 +35,7 @@ <table class=\"sortable\"> <?php $date = (isset($_GET['date']) ? $_GET['date'] : '-1 week'); -$file = fopen("../../psserver/planeshift/logs/exchange.csv", "r"); +$file = fopen("logs/exchange.csv", "r"); echo "<tr><th>"; $headerLine = fgets($file); echo str_replace(",", "</th><th>", $headerLine); Modified: www/gmconsole/stucklogs.php =================================================================== --- www/gmconsole/stucklogs.php 2012-02-27 13:56:09 UTC (rev 8105) +++ www/gmconsole/stucklogs.php 2012-02-28 20:44:08 UTC (rev 8106) @@ -33,7 +33,7 @@ <table> <?php $date = (isset($_GET['date']) ? $_GET['date'] : '-1 week'); -$file = fopen("../../psserver/planeshift/logs/stuck.csv", "r"); +$file = fopen("logs/stuck.csv", "r"); echo "<tr><th>"; $headerLine = fgets($file); echo str_replace(",", "</th><th>", $headerLine); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |