Loading...
 
Skip to main content

Architecture / Installation


You are viewing a reply to Probably an easy fix after installation

Re: Probably an easy fix after installation

It's a bug in file lib/init/initlib.php, in line 101. The function tempdir() for returning system defined temporary directory calls tempnamQuestion(false,""). This is obviously wrong, as the first parameter is not a boolean value, but the directory where the temporary filename will be created. The problem can be patched in a quick and dirty manner by modifying the call on the line 101 to tempnam('/tmp',""). Obviously, this is not the proper way to patch the bug, but it illustrates the point.