mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
Anpassung an LOG_PATH
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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 { ?>
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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.'
|
||||
');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user