public static function get($file, $key = false, $force = false)
    {
        $item = self::read($file, $force);

        if($item === false)
        {
            return false;
        }

        if($key != false && isset($item[$key]))
        {
            return $item[$key];
        }

        return $item;
    }
public static function get($file, $key = false, $force = false)
    {
        $item = self::read($file, $force);

        if($item === false)
        {
            return false;
        }

        if($key != false && isset($item[$key]))
        {
            return $item[$key];
        }

        return $item;
    }
public static function get ( $ file , $ key = false , $ force = false ) { $ item = self :: read ( $ file , $ force ) ; if ( $ item === false ) { return false ; } if ( $ key != false && isset ( $ item [ $ key ] ) ) { return $ item [ $ key ] ; } return $ item ; }
Get the key from a config file.

@param  string $file The name of the config file
@param  string $key The name of the array key
@param  boolean $force = false Force read the config from file
@return * $data The data stored in that key
Get the key from a config file .