new design concurs

This commit is contained in:
2022-02-15 21:00:14 +03:00
parent 00c96d16eb
commit 290ef8db11
14 changed files with 2787 additions and 35 deletions

View File

@@ -29,7 +29,18 @@ $posts = get_posts( array(
if( $posts ){
include('views/rss/yanews.php');
ob_start();
include('views/rss/yanews.php');
$result = ob_get_contents();
ob_end_clean();
$result = trim($result);
if ($result !== ''){
file_put_contents('/vhosts/beta/rss/yanews.xml', trim($result));
}
}