$pagehash['lastmodified'], 'is_ascii' => 1); if (($pagehash['flags'] & FLAG_PAGE_LOCKED) != 0) $attrib['write_protected'] = 1; $content = MailifyPage($pagehash, $oldpagehash); $zip->addRegularFile( encode_pagename_for_wikizip($pagehash['pagename']), $content, $attrib); } $zip->finish(); } if(defined('WIKI_ADMIN')) MakeWikiZip(($zip == 'all')); CloseDataBase($dbi); exit; ?>