$logdatei = fopen(WEBROOT . "temporary/logfile.txt", "w");
fwrite($logdatei, "");
fclose($logdatei);
echo $kga['lang']['log_delete'];
} else {
die;
}
break;
/**
* Write some message to the logfile.
*/
/**
* Write some message to the logfile.
*/
case "shoutbox":
Kimai_Logger::logfile("[" . Kimai_Registry::getUser()->getName() . "] " . $axValue);
break;
/**
* Return the $kga variable (Kimai Global Array). Strip out some sensitive
* information if not configured otherwise.
*/
/**
* Return the $kga variable (Kimai Global Array). Strip out some sensitive
* information if not configured otherwise.
*/
case "reloadKGA":
$output = $kga;
$filter = array('server_hostname' => "xxx", 'server_database' => "xxx", 'server_username' => "xxx", 'server_password' => "xxx", 'password_salt' => "xxx", 'user' => array('secure' => "xxx", 'userID' => "xxx", 'pw' => "xxx", 'password' => "xxx", 'apikey' => "xxx"));
switch ($axValue) {
case 'plain':
$output = $kga;