add new icons

This commit is contained in:
arlemp@selectel.ru
2022-02-09 00:22:15 +03:00
parent 00c96d16eb
commit c8f2b0222e
15 changed files with 168 additions and 28 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));
}
}