mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-01 01:24:32 +03:00
Remove unused "read_config_file" function
This commit is contained in:
parent
ef958483bb
commit
feff032c31
@ -15,22 +15,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
|
||||||
* Read and parse configuration ini file
|
|
||||||
*
|
|
||||||
* @param string $file Path to Configuration file
|
|
||||||
* @return boolean|array Array of configurations or boolean false if file can
|
|
||||||
* not be read.
|
|
||||||
*/
|
|
||||||
function read_config_file($file)
|
|
||||||
{
|
|
||||||
if (!is_readable($file)) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return parse_ini_file($file, true);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads system configurations.
|
* Loads system configurations.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user