From 87fe8cb18bd0e2fd0a624330716fa04f2f181bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96sterreicher?= Date: Mon, 8 Jan 2007 16:32:10 +0000 Subject: [PATCH] Anpassung an LOG_PATH --- cis/private/lehre/ects/freigabe.php | 2 +- cis/private/lehre/ects/index.php | 2 +- cis/private/lehre/lesson.php | 2 +- cis/private/open_grp.php | 2 +- include/functions.inc.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cis/private/lehre/ects/freigabe.php b/cis/private/lehre/ects/freigabe.php index d674b3e3f..4a8594df9 100644 --- a/cis/private/lehre/ects/freigabe.php +++ b/cis/private/lehre/ects/freigabe.php @@ -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); diff --git a/cis/private/lehre/ects/index.php b/cis/private/lehre/ects/index.php index 0f5d6eaeb..67e9fa978 100644 --- a/cis/private/lehre/ects/index.php +++ b/cis/private/lehre/ects/index.php @@ -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); diff --git a/cis/private/lehre/lesson.php b/cis/private/lehre/lesson.php index 9db0a4a58..ea937ebb7 100644 --- a/cis/private/lehre/lesson.php +++ b/cis/private/lehre/lesson.php @@ -433,7 +433,7 @@ - " target="_blank"> + " target="_blank">
"Kreuzerl"-Tool
diff --git a/cis/private/open_grp.php b/cis/private/open_grp.php index a2a3484c4..905655d0d 100644 --- a/cis/private/open_grp.php +++ b/cis/private/open_grp.php @@ -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); diff --git a/include/functions.inc.php b/include/functions.inc.php index ab57eb7d1..dad400ea6 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -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.' '); }