From f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 21:20:34 +0100 Subject: további rendrakás --- mayor-orig/www/include/base/log.php | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 mayor-orig/www/include/base/log.php (limited to 'mayor-orig/www/include/base/log.php') diff --git a/mayor-orig/www/include/base/log.php b/mayor-orig/www/include/base/log.php deleted file mode 100644 index 14e214a9..00000000 --- a/mayor-orig/www/include/base/log.php +++ /dev/null @@ -1,33 +0,0 @@ - 'logLogin', 'modul' => 'login', 'values' => array(_clientIp(), $userAccount, $policy, $flag))); - } - - function szamlal($policy, $page) { - $q = "INSERT INTO stat (dt, policy, page) VALUES (NOW(),'%s','%s')"; - db_query($q, array('fv' => 'szamlal', 'modul' => 'login', 'values' => array($policy, $page))); - } - - function mayorLogger($loglevel, $modul, $message, $userAccount='') { - if ($loglevel>_LOGLEVEL) { - $fp = fopen(_LOGDIR.'/'.$modul.'.log','a+'); - if ($fp!=false) { - $msg = date('Y-m-d H:i:s').' '.$userAccount.': '.$message."\n"; - fputs($fp,$msg); - fclose($fp); - } - } - } -?> -- cgit v1.2.3