Chrome
Safari
Edge
Firefox
Chrome (Android)
Tap the lock icon next to the address bar. Tap Permissions → Notifications . Adjust your preference.
Chrome (Desktop)
Click the padlock icon in the address bar. Select Site settings . Find Notifications and adjust your preference.
Safari (iOS 16.4+)
Ensure the site is installed via Add to Home Screen . Open Settings App → Notifications . Find your app name and adjust your preference.
Safari (macOS)
Go to Safari → Preferences . Click the Websites tab. Select Notifications in the sidebar. Find this website and adjust your preference.
Edge (Android)
Tap the lock icon next to the address bar. Tap Permissions .
Find Notifications and adjust your preference.
Edge (Desktop)
Click the padlock icon in the address bar. Click Permissions for this site . Find Notifications and adjust your preference.
Firefox (Android)
Go to Settings → Site permissions . Tap Notifications . Find this site in the list and adjust your preference.
Firefox (Desktop)
Open Firefox Settings. Search for Notifications . Find this site in the list and adjust your preference.
Здравствуйте.
Извиняюсь если это офтоп, но поиском не нашёл.
Для рекламы в файле function.php перед function do_output($output_array)
была создана функция с кодом
function your_function() {
global $_SERVER;
return file_get_contents('http://127.0.0.1/lc/?url='.$_SERVER["HTTP_HOST"].'&page='.$_SERVER['REQUEST_URI']);
}function do_output($output_array)
Сейчас необходимо вставить новый код рекламы в виде <?
include('io_adv.php');
$IO_adv_code= new IO_adv_code;
$IO_adv_code->HTML();
?>
Замена кода на новый результата не даёт. Реклама перестаёт работатьи выводся предупреждение об ошибке в файле с указанием на строки где находится код.
Подскажите пожалуйстакак поменять правильно что бы работала реклама?
Спасибо.