public static function htmlentities( $string, $recursive = false ) 
	{	
		if ( is_array( $string ) ) 
		{
			foreach( $string as $key => $item ) 
			{	
				if ( $recursive ) 
				{	
					if ( is_array( $item ) ) 
					{
						$string[$key] = static::htmlentities( $item, $recursive );
					}
				}

				if ( is_string( $item ) ) 
				{
					$string[$key] = htmlentities( $item );
				}
			}

			return $string;
		}

		return htmlentities( $string, ENT_QUOTES, ClanCats::$config->charset );
	}