Domains - Патч custom_url_rewrite_outbound() - rewrite

Главные вкладки

Аватар пользователя Atl Atl 2 мая 2009 в 1:54

Забодался!
Два глюка решил, а третий вредный попался:

Захожу в INSTALL.txt и вижу:
«4.4.2 Option 1 -- Preferred

This method is preferred, since any updates to the module release
will be reflected in this file.

NOTE: the elements inside the ==== marks are php code that
should be copied into your settings.php file. DO NOT COPY THE ==== MARKS.

Add the following lines to the end of your settings.php file:

====
/**
* Add the custom_url_rewrite_outbound function.
*/
include './path/to/modules/domain/settings_custom_url.inc';
====

In this case, change 'path/to/modules' with the directory where your modules are
stored. Typically this will be 'sites/all/modules', which makes the lines:

====
/**
* Add the custom_url_rewrite_outbound function.
*/
include './sites/all/modules/domain/settings_custom_url.inc';
====

----
4.4.3 Option 2

If you are having difficulty determining the correct path, copy the file
into your settings folder.

domain > settings_custom_url.inc

The file should be in the same directory as your active settings.php file. Then
add the following lines:

====
/**
* Add the custom_url_rewrite_outbound function.
*/
include 'settings_custom_url.inc';
====
»

Делаю, как надо, но все равно не катит.

Плюс еще непонятное - почему не подсвечиваются переключатели:

Может кто что-нибудь подскажет? С-п-а-с-и-б-о!

Комментарии

Аватар пользователя EllECTRONC EllECTRONC 2 мая 2009 в 2:32

"Atl" wrote:
Делаю, как надо, но все равно не катит.

очистите кеши в браузере и на сайте
"Atl" wrote:
почему не подсвечиваются переключатели

там же написано, что для этой особенности требуется патч hook_url_alter()