diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-06 06:55:57 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-06 06:55:57 -0500 |
commit | cfe1e13d4a2b964c950b5e3daa8cafab207f1158 (patch) | |
tree | bba1cf99c3f11f9b42158bf4959de24f66f37271 | |
parent | 4b60e16c5eae9f0fa080dd2d5f31e6c20755c221 (diff) |
Try another composer config
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | app/common.php | 2 | ||||
-rw-r--r-- | composer.json | 6 |
3 files changed, 6 insertions, 3 deletions
@@ -55,3 +55,4 @@ Thumbs.db ################ config.php data/files +vendor
\ No newline at end of file diff --git a/app/common.php b/app/common.php index 45169d70..613d4501 100644 --- a/app/common.php +++ b/app/common.php @@ -3,8 +3,6 @@ // Common file between cli and web interface require 'vendor/autoload.php'; -require __DIR__.'/functions.php'; -require __DIR__.'/helpers.php'; // Include custom config file if (file_exists('config.php')) { diff --git a/composer.json b/composer.json index 04e6e4a1..1f7009ab 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,10 @@ "lusitanian/oauth": "0.3.5" }, "autoload": { - "psr-0": {"": "app/"} + "psr-0": {"": "app/"}, + "files": [ + "app/helpers.php", + "app/functions.php" + ] } } |