35 if (array_key_exists(
"auth", $Plugins)) {
36 $P = &$Plugins[
"auth"];
38 $P->State = PLUGIN_STATE_FAIL;
41 $_SESSION[
'User'] =
'fossy';
66 $FR = fopen($handle, $mode) or
67 die(
"Can't open $handle, $php_errormsg\n");
68 $wrote = fwrite ($FR, $message);
72 $text = _(
"ERROR: could not write message to");
73 return "$text $handle\n";
cli_logger($handle, $message, $mode='a')
Write/append a message to the log handle passed in.
cli_Init()
Initialize the fossology environment for CLI use. This routine loads the plugins so they can be use b...
plugin_load()
Load every module ui found in mods-enabled.