From 66edea4d71c971f5db469b875214f927e0cf7260 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Mon, 8 Feb 2016 22:12:03 +0100 Subject: [PATCH] Added partial php documentation to the Config class --- php/Modules/Config.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/php/Modules/Config.php b/php/Modules/Config.php index d7f3914..4a00ce6 100644 --- a/php/Modules/Config.php +++ b/php/Modules/Config.php @@ -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);