Title: dotenv
Author: Brad Parbs
Published: <strong>26.05.2021</strong>
Last modified: 28.05.2021

---

Поиск плагинов

![](https://ps.w.org/dotenv/assets/banner-772x250.png?rev=2538828)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/dotenv/assets/icon-256x256.jpg?rev=2538828)

# dotenv

 Автор: [Brad Parbs](https://profiles.wordpress.org/bradparbs/)

[Скачать](https://downloads.wordpress.org/plugin/dotenv.1.0.3.zip)

 * [Детали](https://ru.wordpress.org/plugins/dotenv/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/dotenv/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/dotenv/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/dotenv/#developers)

 [Поддержка](https://wordpress.org/support/plugin/dotenv/)

## Описание

Any `WPENV_` prefixed variables in the `.env` will be used to override the WordPress
options. For example, if you’d like to set a specific environment to «Discourage
search engines from indexing this site», you can add `WPENV_BLOG_PUBLIC=0` to your`.
env` file.

 * Any option in the `wp_options` table or retrieved by `get_option()` can be set
   this way.
 * You can define keys either as `WPENV_BLOGDESCRIPTION` or as `WPENV_blogdescription`,
   both will work.
 * If you’d like to define the location of your `.env` file, rather than the plugin
   looking for it, you can filter `dotenv_location` to be a directory path.
 * You can also change the `WPENV_` prefix by filtering `dotev_key_prefix` to be
   a different prefix.

## Установка

 * Install the plugin.
    - Add a `.env` file either in the root of your site or one level above.
    - Add any WordPress options keys to filter with the prefix `WPENV_`

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«dotenv» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад
следующие участники:

Участники

 *   [ Brad Parbs ](https://profiles.wordpress.org/bradparbs/)

«dotenv» переведён на 1 язык. Благодарим [переводчиков](https://translate.wordpress.org/projects/wp-plugins/dotenv/contributors)
за их работу.

[Перевести «dotenv» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/dotenv)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/dotenv/), проверьте 
[SVN репозиторий](https://plugins.svn.wordpress.org/dotenv/), или подпишитесь на
[журнал разработки](https://plugins.trac.wordpress.org/log/dotenv/) по [RSS](https://plugins.trac.wordpress.org/log/dotenv/?limit=100&mode=stop_on_copy&format=rss).

## Мета

 *  Версия **1.0.3**
 *  Обновление: **5 лет назад**
 *  Активных установок: **20+**
 *  Версия WordPress ** 5.2 или выше **
 *  Совместим вплоть до: **5.7.15**
 *  Версия PHP ** 5.6 или выше **
 *  Языки
 * [English (US)](https://wordpress.org/plugins/dotenv/) и [Swedish](https://sv.wordpress.org/plugins/dotenv/).
 *  [Перевести на ваш язык](https://translate.wordpress.org/projects/wp-plugins/dotenv)
 * Метки:
 * [config](https://ru.wordpress.org/plugins/tags/config/)[configuration](https://ru.wordpress.org/plugins/tags/configuration/)
   [developer](https://ru.wordpress.org/plugins/tags/developer/)[environment](https://ru.wordpress.org/plugins/tags/environment/)
   [tools](https://ru.wordpress.org/plugins/tags/tools/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/dotenv/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Your review](https://wordpress.org/support/plugin/dotenv/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/dotenv/reviews/)

## Участники

 *   [ Brad Parbs ](https://profiles.wordpress.org/bradparbs/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/dotenv/)