diff options
-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" + ] } } |