mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-02 06:58:49 +02:00
Better error reporting when the setup fails to create a directory.
SVN:2.2.0[3794]
This commit is contained in:
@@ -695,7 +695,7 @@ class RunTimeEnvironment
|
||||
{
|
||||
if (!@mkdir($sDir))
|
||||
{
|
||||
throw new Exception("Failed to create directory '$sTargetPath', please check the rights of the web server");
|
||||
throw new Exception("Failed to create directory '$sDir', please check that the web server process has enough rights to create the directory.");
|
||||
}
|
||||
@chmod($sDir, 0770); // RWX for owner and group, nothing for others
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user