correct php 8.2
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user