clear_config

void clear_config ( [string var])

This clears all assigned config variables. If a variable name is supplied, only that variable is cleared.

Пример 13-10. clear_config

// clear all assigned config variables.
$smarty->clear_config();

// clear one variable
$smarty->clear_config('foobar');