Making WordPress.org

Changeset 6844


Ignore:
Timestamp:
03/08/2018 05:41:07 PM (6 years ago)
Author:
iandunn
Message:

WP15: Document the reasoning behind configuration structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wp15.wordpress.net/public_html/wp-config.php

    r6839 r6844  
    11<?php
    22
     3/*
     4 * Everything that can be open-sourced should be, including configuration. That promotes transparency and
     5 * collaboration; keeps the VCS layout simple, and makes dev environments simple and consistent.
     6 *
     7 * All of the files for this site are stored in `meta.svn`, except for `config-private.php`, which is ignored.
     8 *
     9 * Naming the config files explicitly with `public` and `private` removes any ambiguity that could lead to sensitive
     10 * information accidentally being added to the public file, or to `wp-config.php`, which is also public.
     11 */
    312require_once( dirname( __DIR__ ). '/config-private.php' );
    413require_once( dirname( __DIR__ ). '/config-public.php'  );
Note: See TracChangeset for help on using the changeset viewer.