Anpassung an LOG_PATH

This commit is contained in:
Andreas Österreicher
2007-01-08 16:32:10 +00:00
parent 76f1892f01
commit 87fe8cb18b
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
function WriteLog($qry,$uid)
{
if($fp=fopen(LVINFO_LOG_PATH,"a"))
if($fp=fopen(LOG_PATH.'lvinfo.log',"a"))
{
fwrite($fp,"\n");
fwrite($fp,$uid." ". date("d.m.Y - H:i:s") . " ". $qry);
+1 -1
View File
@@ -153,7 +153,7 @@ border:1px dashed #000000;
function WriteLog($qry,$uid)
{
if($fp=fopen(LVINFO_LOG_PATH,"a"))
if($fp=fopen(LOG_PATH.'lvinfo.log',"a"))
{
fwrite($fp,"\n");
fwrite($fp,$uid." ". date("d.m.Y - H:i:s") . " ". $qry);
+1 -1
View File
@@ -433,7 +433,7 @@
<td valign="top" align="center">
<?php if($is_lector) { ?>
<a href="kreuzerltool/result_effort.php?<?php echo "course_id=$course_id&term_id=$term_id&short=$short"?>" target="_blank">
<a href="kreuzerltool/verwaltung.php?<?php echo "lvid=$lvid"?>" target="_blank">
<img src="../../../skin/images/button_kt.jpg" border="0" width="67" height="45"><br>
<strong>"Kreuzerl"-Tool</strong></a>
<?php } else { ?>
+1 -1
View File
@@ -77,7 +77,7 @@ if(!check_lektor($_SERVER["REMOTE_USER"],$conn))
/* ffe, 20051020 - do a little logging */
$message= date("F j G:i:s") . " mailgroup: [" . $_REQUEST['grp'] . "] (using " . $mail_id . ") requested by [" . $_SERVER['PHP_AUTH_USER'] . "]\n";
$filet = fopen("../../../system/.htmlistopen.log", "a");
$filet = fopen(LOG_PATH.'.htmlistopen.log', "a");
fwrite($filet, $message, strlen($message));
fclose($filet);
+1 -1
View File
@@ -147,7 +147,7 @@ function writeCISlog($stat, $rm = '')
{
if($stat=='STOP')
$stat = 'STOP ';
$handle = fopen(CIS_LOG_PATH,'a');
$handle = fopen(LOG_PATH.'cis.log','a');
fwrite($handle, date('Y-m-d H:i:s').' '. $stat .' '. getmypid() .' '. $_SERVER['REMOTE_USER'] .' '. $_SERVER['REQUEST_URI'] .' '.$rm.'
');
}