markjaquith / WordPress-Skeleton

Basic layout of a WordPress Git repository. I use this as a base when creating a new repo.
1.85k stars 600 forks source link

Introduced system environment variable. #87

Closed rainmore closed 4 years ago

rainmore commented 9 years ago

Using system environment variable, some configuration can be split from wp-config.php.

The environment variable can be set through SetEnv APPLICATION_ENV dev in apache configuration. Also, I believe /config/dev.php should be removed as it is not necessary to put it in git repository. It can be done easily by adding the file in .gitignore.

No sure if those changes make sense to you.