3 declare(strict_types=1);
32 protected string $ini =
'';
49 $this->inifile = $DIC[
'ilIliasIniFile'];
55 $this->ini =
"[Server]\n";
56 $this->ini .=
"IpAddress = " . $this->
getHost() .
"\n";
57 $this->ini .=
"Port = " . $this->
getPort() .
"\n";
58 $this->ini .=
"IndexPath = " . $this->
getIndexPath() .
"\n";
59 $this->ini .=
"LogFile = " . $this->
getLogPath() .
"\n";
60 $this->ini .=
"LogLevel = " . $this->
getLogLevel() .
"\n";
61 $this->ini .=
"NumThreads = " . $this->
getNumThreads() .
"\n";
62 $this->ini .=
"RamBufferSize = 256\n";
63 $this->ini .=
"IndexMaxFileSizeMB = " . $this->
getMaxFileSize() .
"\n";
67 $this->ini .=
"[Client1]\n";
68 $this->ini .=
"ClientId = " .
CLIENT_ID .
"\n";
69 $this->ini .=
"NicId = " . $this->
settings->get(
'inst_id',
'0') .
"\n";
70 $this->ini .=
"IliasIniPath = " . $this->inifile->readVariable(
73 ) . DIRECTORY_SEPARATOR .
"ilias.ini.php\n";
88 public function setHost(
string $host): void
145 $this->max_file_size = $a_fs;
setNumThreads(int $numThreads)
Creates a java server ini file for the current client
setLogPath(string $logPath)
setIndexPath(string $indexPath)
setMaxFileSize(string $a_fs)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setLogLevel(string $logLevel)