Home > PHP > Function > Tidy > tidy_save_config()

tidy_save_config()

tidy_save_config - Save current settings to named file

Syntax

bool tidy_save_config (string $filename)

Arguments

  • filename - Path to the config file.

Description

Saves current settings to the specified file. Only non-default values are written.

Version

PHP PECL tidy >= 0.5.2

Return value

Returns TRUE on success or FALSE on failure.