Przeglądaj źródła

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 lat temu
rodzic
commit
30422022d1
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 		}