summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-02-25 19:23:46 +0000
committerpjmattal <pjmattal>2005-02-25 19:23:46 +0000
commitac7e555b3416ecad62a37f8ffa98e7e8bbcf6c3d (patch)
treea2c56d5e30da76c239ec05d37fa99380e3475015
parent42c20c39553eb40e738eac3f4ea50fc6238b24c5 (diff)
downloadaurweb-ac7e555b3416ecad62a37f8ffa98e7e8bbcf6c3d.tar.xz
moved debugging logs to /var/tmp
-rw-r--r--web/lib/aur.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index 267b650..361ab04 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -19,8 +19,8 @@ $SUPPORTED_LANGS = array( # what languages we have translations for
# debugging variables
#
-$QBUG = 1; # toggle query logging to /tmp/aurq.log
-$DBUG = 1; # use dbug($msg) to log to /tmp/aurd.log
+$QBUG = 1; # toggle query logging to /var/tmp/aurq.log
+$DBUG = 1; # use dbug($msg) to log to /var/tmp/aurd.log
# return an array of info for each Trusted user
@@ -273,7 +273,7 @@ function db_query($query="", $db_handle="") {
$db_handle = db_connect();
}
if ($QBUG) {
- $fp = fopen("/tmp/aurq.log", "a");
+ $fp = fopen("/var/tmp/aurq.log", "a");
fwrite($fp, $query . "\n");
fclose($fp);
}
@@ -438,7 +438,7 @@ function html_footer($ver="") {
# debug logging
#
function dbug($msg) {
- $fp = fopen("/tmp/aurd.log", "a");
+ $fp = fopen("/var/tmp/aurd.log", "a");
fwrite($fp, $msg . "\n");
fclose($fp);
return;