Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added config files that should not be placed into repos by default as th... #488

Merged
merged 1 commit into from

2 participants

@nanadevelopment

I added two main config files to the gitignore for Expression Engine. I added them for 2 reasons, the constants in config.php change from repo to repo (as they set the URL) and the database.php for obvious security reasons.

@nanadevelopment nanadevelopment Added config files that should not be placed into repos by default as…
… they contain database information and URL's that will vary between local and other servers and can cause conflicts.
1fbbb01
@aroben
Admin

Thanks for submitting this! Sorry it's taken so long to take a look.

It does look like lots of ExpressionEngine projects ignore these files, so :+1:

@aroben aroben merged commit e85ec2d into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 13, 2012
  1. @nanadevelopment

    Added config files that should not be placed into repos by default as…

    nanadevelopment authored
    … they contain database information and URL's that will vary between local and other servers and can cause conflicts.
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 0 deletions.
  1. +4 −0 ExpressionEngine.gitignore
View
4 ExpressionEngine.gitignore
@@ -8,6 +8,10 @@ images/member_photos/
images/signature_attachments/
images/pm_attachments/
+# For security do not publish the following files
+system/expressionengine/config/database.php
+system/expressionengine/config/config.php
+
# Caches
sized/
thumbs/
Something went wrong with that request. Please try again.