improved error message
This commit is contained in:
parent
07aba111c4
commit
d978a19fd6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user