Try another composer config

This commit is contained in:
Frédéric Guillot 2014-11-06 06:55:57 -05:00
parent 4b60e16c5e
commit cfe1e13d4a
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -55,3 +55,4 @@ Thumbs.db
################ ################
config.php config.php
data/files data/files
vendor

View File

@ -3,8 +3,6 @@
// Common file between cli and web interface // Common file between cli and web interface
require 'vendor/autoload.php'; require 'vendor/autoload.php';
require __DIR__.'/functions.php';
require __DIR__.'/helpers.php';
// Include custom config file // Include custom config file
if (file_exists('config.php')) { if (file_exists('config.php')) {

View File

@ -9,6 +9,10 @@
"lusitanian/oauth": "0.3.5" "lusitanian/oauth": "0.3.5"
}, },
"autoload": { "autoload": {
"psr-0": {"": "app/"} "psr-0": {"": "app/"},
"files": [
"app/helpers.php",
"app/functions.php"
]
} }
} }