![]() |
Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community |
|
|
#3 |
|
Новенький
Регистрация: 21.06.2013
Сообщений: 4
|
Спасибо, не заметил эту тему.
Для наглядности скопирую действия, которые нужно сделать: Changing the default “typo3/” directory By default TYPO3 is administrated from the directory “typo3/”. You can change (rename) that so the backend is available from another directory, eg. “my_typo3_admin_dir/”. But the frontend and backend is tied together in some ways that mean you'll have to change parts of the source code. That is relatively easy if you follow these guidelines: Rename the “typo3/” dir/softlink to “my_typo3_admin_dir/”. Notice that the backend directory must always be a sub directory to the website (extensions inside + frontend edit relies on the backend to be there). Further it cannot be a sub-sub-directory either! (This will work only partially and is currently not intended to be fixed). Search for the string 'define("TYPO3_mainDir"'. At least four scripts will be found: typo3/sysext/cms/tslib/index_ts.php (the index.php file), typo3/sysext/cms/tslib/showpic.php, t3lib/thumbs.php and typo3/init.php. With each instance change the constant definition from “typo3/” to “my_typo3_admin_dir/”. Any local extensions (those installed in typo3conf/ext/) that has backend modules in them (those with conf.php files) MUST have their $BACK_PATH definition in the conf.php file changed! If they are installed by the extension manager everything should be fine, but if not, you must change manually. You will receive an error something like this:Warning: Failed opening '../../../../typo3/init.php' for inclusion... Rarely: The extension “direct_mail” has two cron-scripts, dmailerd.phpcron and returnmail.phpsh. They have “typo3/” hardcoded as admin directory as well. If you use these scripts, you will have to change that too. Finally you should remove the “temp_CACHED_ps*” files found in typo3conf/ before you test the new settings. Those will be re-generated with adjusted paths on the first executing of a TYPO3 script. On UNIX systems something like this will do the trick: rm typo3conf/temp_CACHED_ps* |
|
|
|
|
|
Похожие темы
|
||||
| Тема | Автор | Раздел | Ответов | Последнее сообщение |
| Powermail как изменить имя отправителя для письма Получателя | elezeo | Общие вопросы | 1 | 04.09.2011 15:09 |
| Как изменить систему навигации в lz_gallery | vserge | Общие вопросы | 4 | 30.05.2008 17:51 |
| как получить базовый адрес... | Smith | Общие вопросы | 3 | 24.12.2007 20:12 |
| как изменить адрес на страницу? | Юрий Сегеда | Общие вопросы | 10 | 21.11.2006 15:30 |
| Как сделать чтоб для каждой страницы адрес был бы уникальным? | MercurieVV | Общие вопросы | 3 | 14.09.2004 08:37 |