<?php
$guid = input('guid');
$object = get_worlds_page($guid);
if(!$object){
		echo 0;
		exit();
}
$cover = new \Ossn\Component\WorldsPage\Cover;
if($cover->addCover($guid)){
		echo 1;
} else {
		echo 0;	
}