Better error reporting when the setup fails to create a directory.

SVN:trunk[3793]
This commit is contained in:
Denis Flaven
2015-09-30 14:08:04 +00:00
parent ef57f870ac
commit 2d34510f50

View File

@@ -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
}