RewriteEngine on
- естественно обязательноRewriteEngine On
RewriteBase /
Options -Indexes
AddDefaultCharset utf-8
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php [L]
<proto ver="1.0"/>
<proto ver="1.0">OK</proto>
<some_xml_data />
<some_xml_data />
$aMenuLinks = Array(
Array(
"Каталог",
"/catalog/",
Array(),
Array(),
""
),
);
if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
global $APPLICATION;
$aMenuLinksExt = $APPLICATION->IncludeComponent("bitrix:menu.sections", "", array(
"IBLOCK_TYPE_ID" => "catalog",
"IBLOCK_ID" => "15",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "360000",
"DEPTH_LEVEL" => "4",
),
false,
Array('HIDE_ICONS' => 'N')
);
$aMenuLinks = array_merge($aMenuLinks, $aMenuLinksExt);
Всё делаю под рутом.