summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-06 06:55:57 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-06 06:55:57 -0500
commitcfe1e13d4a2b964c950b5e3daa8cafab207f1158 (patch)
treebba1cf99c3f11f9b42158bf4959de24f66f37271
parent4b60e16c5eae9f0fa080dd2d5f31e6c20755c221 (diff)
Try another composer config
-rw-r--r--.gitignore1
-rw-r--r--app/common.php2
-rw-r--r--composer.json6
3 files changed, 6 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 9b1d8e38..009f7b15 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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"
+ ]
}
}