improved error message
This commit is contained in:
		| @@ -77,7 +77,7 @@ abstract class FileUtil { | |||||||
| 			return null; | 			return null; | ||||||
| 		} | 		} | ||||||
| 		if (!is_readable($fileLocation)) { | 		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 null; | ||||||
| 		} | 		} | ||||||
| 		return simplexml_load_file($fileLocation); | 		return simplexml_load_file($fileLocation); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user