Added partial php documentation to the Config class

pull/462/head
Tobias Reich 8 years ago
parent 9a1e51c8bd
commit 66edea4d71

@ -43,12 +43,18 @@ if(!defined('LYCHEE')) Response::error('Direct access is not allowed!');
}
/**
* @return boolean Returns true when the config exists.
*/
public static function exists() {
return file_exists(LYCHEE_CONFIG_FILE);
}
/**
* @return array Returns the config.
*/
public static function get() {
require(LYCHEE_CONFIG_FILE);

Loading…
Cancel
Save