improved error message

This commit is contained in:
Steffen Schröder 2014-05-01 20:15:58 +02:00
parent 07aba111c4
commit d978a19fd6

View File

@ -77,7 +77,7 @@ abstract class FileUtil {
return null;
}
if (!is_readable($fileLocation)) {
trigger_error("Config file isn't readable! ({$fileName})");
trigger_error("Config file isn't readable! Please check your file permissions. ({$fileName})");
return null;
}
return simplexml_load_file($fileLocation);