Skip to content

Commit

Permalink
Use composer for autoloading
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Jan 14, 2017
1 parent 0d21e6d commit 06ed94d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

$f3->set('DEBUG',0);
$f3->set('version','2.17-SNAPSHOT');
$f3->set('AUTOLOAD',__dir__.'/;libs/;daos/;libs/fulltextrss/content-extractor/');
$f3->set('AUTOLOAD', false);
$f3->set('cache',__dir__.'/data/cache');
$f3->set('BASEDIR',__dir__);
$f3->set('LOCALES',__dir__.'/public/lang/');
Expand Down
11 changes: 10 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,14 @@
"name": "SSilence",
"email": "[email protected]"
}
]
],
"autoload": {
"classmap": [
"controllers/",
"daos/",
"helpers/",
"libs/",
"spouts/"
]
}
}

0 comments on commit 06ed94d

Please sign in to comment.