Explorar o código

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 %!s(int64=9) %!d(string=hai) anos
pai
achega
30422022d1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 		}