correct php 8.2

This commit is contained in:
2023-11-06 16:21:36 +03:00
parent 85bdf0d8f2
commit 19a7e3f4a1
8 changed files with 38 additions and 63 deletions

View File

@@ -2,7 +2,7 @@
include_once '/vhosts/beta/wp-load.php';
include_once '/vhosts/vetandlife.ru/wp-load.php';
function filterHtml($html) {
@@ -29,10 +29,10 @@ $posts = get_posts( array(
// Яндекс Новости
create_rss_file($posts, 'views/rss/yanews.php', '/vhosts/beta/rss/yanews.xml');
create_rss_file($posts, 'views/rss/yanews.php', '/vhosts/vetandlife.ru/rss/yanews.xml');
// Общая лента
create_rss_file($posts, 'views/rss/rssnews.php', '/vhosts/beta/rss/news.xml');
create_rss_file($posts, 'views/rss/rssnews.php', '/vhosts/vetandlife.ru/rss/news.xml');