<?php
/// Copyright (c) 2004-2016, Needlworks  / Tatter Network Foundation
/// All rights reserved. Licensed under the GPL.
/// See the GNU General Public License for more details. (/documents/LICENSE, /documents/COPYRIGHT)
$IV = array(
	'POST' => array(
		'frontpage' => array('string','default' => '')
	)
);
require ROOT . '/library/preprocessor.php';
requireStrictRoute();
if (!empty($_POST['frontpage'])){
	if(in_array($_POST['frontpage'],array('entry','cover','line'))) {
		Setting::setBlogSettingGlobal('frontpage',$_POST['frontpage']);
		Respond::ResultPage(0);
	}
}
Respond::ResultPage(-1);
?>
