浏览代码

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3793 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 9 年之前
父节点
当前提交
30422022d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup/runtimeenv.class.inc.php

+ 1 - 1
setup/runtimeenv.class.inc.php

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