1.25 kiriwrite_compile_clean

kiriwrite_compile_clean cleans the output directory. If no confirm value is given then a form appears asking if the output directory should be cleaned.

kirwirite_compile_clean will return data that is intended for kiriwrite_output_page.

Parameters:

kiriwrite_compile_clean(confirm);

Usage:

$pagedata = kiriwrite_compile_clean();
$pagedata = kiriwrite_compile_clean(1);

confirm
Specifies if the action to clean the output directory should be confirmed by passing a '1'.