Skip to content

Commit

Permalink
update code to use composer instead
Browse files Browse the repository at this point in the history
  • Loading branch information
sn0opy committed Jul 8, 2018
1 parent 839bd27 commit 151cbc2
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.idea/
temp/
vendor/
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"bcosca/fatfree-core": "^3.6"
}
}
49 changes: 49 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
compliance with the license. Any of the license terms and conditions
can be waived if you get permission from the copyright holder.
Copyright (c) 2016 F3-Junkies
http://www.fatfreeframework.com
Copyright (c) 2018 F3::Community
https://fatfreeframework.com
@version 0.9.0
*/

$f3 = require __DIR__.'/lib/base.php';
require 'vendor/autoload.php';

$f3 = Base::instance();

// set global vars
$f3->set('AUTOLOAD', 'inc/;app/');
Expand Down
1 change: 0 additions & 1 deletion lib
Submodule lib deleted from 4e0f5f

0 comments on commit 151cbc2

Please sign in to comment.