beber pushed a commit to branch master.
commit 8026a19ea0e01460a389f052af63e3853789e9d4
Author: Bertrand Jacquin <[email protected]>
Date: Fri Aug 16 23:52:24 2013 +0200
Update log path to make this non public
---
.gitignore | 4 ++--
public_html/update.php | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index f52c473..3f8446c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,5 +7,5 @@ public_html/ss/kill
public_html/ss/tmp
# Logs
-e17-clients
-e17-updates
+logs/e17-clients
+logs/e17-updates
diff --git a/public_html/update.php b/public_html/update.php
index d264e62..13d51d5 100644
--- a/public_html/update.php
+++ b/public_html/update.php
@@ -74,7 +74,7 @@ for ($l = 0; $l < $linecount; $l++)
}
}
- $fh = fopen($_SERVER["DOCUMENT_ROOT"] . "/e17-updates", "a");
+ $fh = fopen($_SERVER["DOCUMENT_ROOT"] . "/../logs/e17-updates", "a");
if ($fh)
{
fwrite($fh, date("Y/m/d-H:i:s"));
@@ -97,7 +97,7 @@ for ($l = 0; $l < $linecount; $l++)
if ($items[0] == "CLIENT")
{
$id = $items[1];
- $fh = fopen($_SERVER["DOCUMENT_ROOT"] . "/e17-clients", "a");
+ $fh = fopen($_SERVER["DOCUMENT_ROOT"] . "/../logs/e17-clients", "a");
if ($fh)
{
fwrite($fh, date("Y/m/d-H:i:s"));
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk