2022-04-23 02:00:52 +02:00
|
|
|
<?php
|
|
|
|
$varPath = "/usr/share/moha/";
|
|
|
|
$mohaPath = "/home/daniel/moha";
|
|
|
|
$configPath = "/etc/moha/";
|
2022-05-05 21:28:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
function logger($level, $log, $pos = "")
|
|
|
|
{
|
|
|
|
global $logLevel;
|
|
|
|
if ($level & $logLevel)
|
|
|
|
{
|
|
|
|
print ("MOHA-" . $level . $log .$pos . EOL);
|
|
|
|
}
|
|
|
|
}
|
2022-04-23 02:00:52 +02:00
|
|
|
?>
|