Krumo::ini PHP Method

ini() public static method

Prints a list of all the values from an INI file.
public static ini ( string $ini_file ) : boolean
$ini_file string
return boolean
    public static function ini($ini_file)
    {
        // disabled
        if (!static::_debug()) {
            return false;
        }
        // read it
        if (!($_ = @parse_ini_file($ini_file, 1))) {
            return false;
        }
        // render it
        if (realpath($ini_file)) {
            $ini_file = realpath($ini_file);
        }
        static::heading("This is a list of all the values from the ", $ini_file, "INI file");
        return static::dump($_);
    }