From 3c3b45bb262342f6e20e876ea1e87595667c15dd Mon Sep 17 00:00:00 2001 From: Evan Coury Date: Thu, 10 Nov 2011 20:36:14 -0700 Subject: [PATCH] Add vendors/ directory for third-party modules - The odd-looking .gitignore is so that the README file is included in the repository, but if the user installs some third part modules, they won't accidentally be added to the skeleton git repository. We do the same thing in the modules/ directory. - Added readme explaining that vendors/ is for third-party modules --- configs/application.config.php | 1 + vendors/.gitignore | 3 +++ vendors/README.md | 1 + 3 files changed, 5 insertions(+) create mode 100644 vendors/.gitignore create mode 100644 vendors/README.md diff --git a/configs/application.config.php b/configs/application.config.php index 873c275..5f35e66 100644 --- a/configs/application.config.php +++ b/configs/application.config.php @@ -2,6 +2,7 @@ return array( 'module_paths' => array( realpath(__DIR__ . '/../modules'), + realpath(__DIR__ . '/../vendors'), ), 'modules' => array( 'Application', diff --git a/vendors/.gitignore b/vendors/.gitignore new file mode 100644 index 0000000..e082ac7 --- /dev/null +++ b/vendors/.gitignore @@ -0,0 +1,3 @@ +/* +!README.md +!.gitignore diff --git a/vendors/README.md b/vendors/README.md new file mode 100644 index 0000000..29381b6 --- /dev/null +++ b/vendors/README.md @@ -0,0 +1 @@ +This `vendors/` directory is where third-party modules should be installed. -- 1.7.10.4