summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/aur.inc')
-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 267b650f..361ab04d 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;