diff options
Diffstat (limited to 'program/include/rcube_config.php')
-rw-r--r-- | program/include/rcube_config.php | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/program/include/rcube_config.php b/program/include/rcube_config.php index a4f3699d8..85ff714bf 100644 --- a/program/include/rcube_config.php +++ b/program/include/rcube_config.php @@ -180,7 +180,7 @@ class rcube_config { $this->prop = array_merge($this->prop, $prefs); } - + /** * Getter for all config options @@ -192,6 +192,7 @@ class rcube_config return $this->prop; } + /** * Return requested DES crypto key. * @@ -204,9 +205,8 @@ class rcube_config if (!array_key_exists($key, $this->prop)) { raise_error(array( - 'code' => 500, - 'type' => 'php', - 'file' => __FILE__, + 'code' => 500, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, 'message' => "Request for unconfigured crypto key \"$key\"" ), true, true); } @@ -217,9 +217,8 @@ class rcube_config if (strlen($key) != 24) { raise_error(array( - 'code' => 500, - 'type' => 'php', - 'file' => __FILE__, + 'code' => 500, 'type' => 'php', + 'file' => __FILE__, 'line' => __LINE__, 'message' => "Configured crypto key \"$key\" is not exactly 24 bytes long" ), true, true); } @@ -227,6 +226,7 @@ class rcube_config return $key; } + /** * Try to autodetect operating system and find the correct line endings * @@ -244,9 +244,8 @@ class rcube_config else return "\n"; } - - + /** * Return the mail domain configured for the given host * |