Beispiel #1
0
/**
 * function thesis_generate_css()
 *
 * Builds layout.css content then writes it to the file.
 *
 * @uses Thesis_CSS
 */
function thesis_generate_css()
{
    if (is_writable(THESIS_LAYOUT_CSS)) {
        $thesis_css = new Thesis_CSS();
        $thesis_css->build();
        $lid = @fopen(THESIS_LAYOUT_CSS, 'w');
        @fwrite($lid, $thesis_css->css);
        @fclose($lid);
    }
}