$arFields = Array(
"ACTIVE" => ($ACTIVE <> "Y" ? "N" : "Y"),
"NAME" => $NAME,
"SORT" => $SORT,
"DESCRIPTION" => $DESCRIPTION,
"LID" => $LID,
"AUTO" => ($AUTO <> "Y" ? "N" : "Y"),
"DAYS_OF_MONTH" => $DAYS_OF_MONTH,
"DAYS_OF_WEEK" => (is_array($DAYS_OF_WEEK) ? implode(",", $DAYS_OF_WEEK) : ""),
"TIMES_OF_DAY" => $TIMES_OF_DAY,
"TEMPLATE" => $TEMPLATE,
"VISIBLE" => ($VISIBLE <> "Y" ? "N" : "Y"),
"FROM_FIELD" => $FROM_FIELD,
"LAST_EXECUTED" => $LAST_EXECUTED
);
public function getPage()
{
$url = parse_url($_SERVER['REQUEST_URI']);//$url: {$path => "/online/", query => "utm_source=google_adwords"}[2]
$path = $url['path'];//$url: {path => "/online/", query => "utm_source=google_adwords"}[2] $path: null
if ($path == '/'){
$path = '';
} else {
$path = preg_replace('/', '', $path);
}
return $path; // $path: null
}
journalctl -xe
-- Subject: Начинается запуск юнита session-112.scope
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Начат процесс запуска юнита session-112.scope.
апр 07 21:25:01 doc.local systemd[1]: Started Session 111 of user root.
-- Subject: Запуск юнита session-111.scope завершен
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Процесс запуска юнита session-111.scope был завершен.
--
-- Результат: done.
апр 07 21:25:01 doc.local systemd[1]: Starting Session 111 of user root.
-- Subject: Начинается запуск юнита session-111.scope
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Начат процесс запуска юнита session-111.scope.
апр 07 21:25:01 doc.local CROND[2826]: (bitrix) CMD (test -f /home/bitrix/www/bi
апр 07 21:25:01 doc.local CROND[2827]: (bitrix) CMD (sh /home/bitrix/ext_www/doc
апр 07 21:25:01 doc.local CROND[2828]: (root) CMD (/opt/webdir/bin/restart_httpd
апр 07 21:25:01 doc.local CROND[2824]: (bitrix) CMDOUT (Daemon already active)