<?php
use \Bitrix\Main\Loader;
use \Native\Settings\Option;
require $_SERVER['DOCUMENT_ROOT'] . '/bitrix/header.php';
// Получение параметра Графика работы (schedule)
try {
if(Loader::includeModule('native.settings')){
$schedule = Option::get('schedule', 'Круглосуточно');
echo $schedule;
}
} catch (LoaderException $e) {
echo $e->getMessage();
}
require $_SERVER['DOCUMENT_ROOT'] . '/bitrix/footer.php';