Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: dlh01/dave-wpstarterkit
base: 2aad26fdba
...
head fork: dlh01/dave-wpstarterkit
compare: 381c54c6c5
  • 4 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 43 additions and 9 deletions.
  1. +37 −1 .gitignore
  2. +3 −7 local-config-sample.php
  3. +3 −1 wp-config-sample.php
View
38 .gitignore
@@ -1,11 +1,13 @@
# WP config files
wp-config.php
local-config.php
+staging-config.php
# Some of GitHub's recommended ignores
# https://github.com/github/gitignore/blob/master/Wordpress.gitignore
content/uploads/
content/upgrade/*
+content/blogs.dir
content/backup-db/*
content/advanced-cache.php
content/wp-cache-config.php
@@ -17,6 +19,40 @@ sitemap.xml.gz
readme.html
license.txt
+# WP Engine's "large/disallowed file types" list
+# Consider a CDN for these
+*.hqx
+*.bin
+*.exe
+*.dll
+*.deb
+*.dmg
+*.iso
+*.img
+*.msi
+*.msp
+*.msm
+*.mid
+*.midi
+*.kar
+*.mp3
+*.ogg
+*.m4a
+*.ra
+*.3gpp
+*.3gp
+*.mp4
+*.mpeg
+*.mpg
+*.mov
+*.webm
+*.flv
+*.m4v
+*.mng
+*.asx
+*.asf
+*.wmv
+*.avi
# Consider adding some or all of the below to your global .gitignore
# https://help.github.com/articles/ignoring-files
@@ -86,4 +122,4 @@ publish
# Databases
*.sql
-*.sqlite
+*.sqlite
View
10 local-config-sample.php
@@ -1,11 +1,7 @@
<?php
-/* =============================================================================
- Set local development configuration
- ========================================================================== */
-
/*
- * Database settings
+ * Local database settings
*
* Add a suffix (or prefix) to your database name for some extra security
*/
@@ -19,7 +15,7 @@
define( 'WP_DEBUG', true );
/*
- * Define the address of the development website and the core WordPress files
+ * Define the address of the local website and the core WordPress files
*
* WP_HOME is the URL of your website, and WP_SITEURL is the URL
* of the /wordpress directory
@@ -29,7 +25,7 @@
/*
- * Define the directory path and URL of the development wp-content directory
+ * Define the directory path and URL of the local wp-content directory
*
* Avoid using `$_SERVER` if you can:
* http://lists.automattic.com/pipermail/wp-hackers/2012-July/043598.html
View
4 wp-config-sample.php
@@ -1,11 +1,13 @@
<?php
/* =============================================================================
- Set database info, but use local-config.php if it exists
+ Define our production settings, but check for local or staging settings first
========================================================================== */
if ( file_exists( dirname( __FILE__ ) . '/local-config.php' ) ) {
include( dirname( __FILE__ ) . '/local-config.php' );
+} elseif ( file_exists( dirname( __FILE__ ) . '/staging-config.php' ) ) {
+ include( dirname( __FILE__ ) . '/staging-config.php' );
} else {
/*

No commit comments for this range

Something went wrong with that request. Please try again.