Skip to content

Commit 855d5b0

Browse files
author
David Otis
committed
bcit-ci#4189 Addressing PR comments
1 parent b237d1a commit 855d5b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

system/core/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function __construct()
115115
* @param bool $use_sections Whether configuration values should be loaded into their own section
116116
* @param bool $fail_gracefully Whether to just return FALSE or display an error message
117117
* @return bool TRUE if the file was loaded correctly or FALSE on failure
118-
* @throws RuntimeException Throws a runtime exception if the config file can't be found or doesn't have a valid configuration array.
118+
* @throws RuntimeException Throws a RuntimeException if no (valid) configuration file is found.
119119
*/
120120
public function load($file = '', $use_sections = FALSE, $fail_gracefully = FALSE)
121121
{

user_guide_src/source/libraries/config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Class Reference
204204
:param string $item: config item name
205205
:returns: Config item value with a trailing forward slash or NULL if not found
206206
:rtype: mixed
207-
:throws: RuntimeException Throws a runtime exception if the config file can't be found or doesn't have a valid configuration array.
207+
:throws: RuntimeException Throws a RuntimeException if no (valid) configuration file is found.
208208

209209
This method is identical to ``item()``, except it appends a forward
210210
slash to the end of the item, if it exists.

0 commit comments

Comments
 (0)