From 158220700b4d51995522928f026e072d9d4576a9 Mon Sep 17 00:00:00 2001 From: Romano Schoonheim Date: Tue, 15 Dec 2020 16:54:29 +0100 Subject: [PATCH 1/3] Create composer.json, ignore vendor/ folder. --- .gitignore | 3 +++ composer.json | 1 + 2 files changed, 4 insertions(+) create mode 100644 composer.json diff --git a/.gitignore b/.gitignore index b25a331..3c2b9fa 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,6 @@ _nemazat/css/font-awesome.min.css app/updater/*.bin app/logs/*.log backup/*.zip + + +vendor/ diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/composer.json @@ -0,0 +1 @@ +{} -- 2.40.1 From 09d78192b66299ad8c0e5d4d15273369674e2f2e Mon Sep 17 00:00:00 2001 From: Romano Schoonheim Date: Tue, 15 Dec 2020 16:56:12 +0100 Subject: [PATCH 2/3] Use composer autoload.php instead of custom boostrap.php --- public/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 71d1710..b4b4c2e 100644 --- a/public/index.php +++ b/public/index.php @@ -1,3 +1,6 @@ Date: Tue, 15 Dec 2020 16:59:08 +0100 Subject: [PATCH 3/3] Bootstrap installed --- public/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/index.php b/public/index.php index b4b4c2e..42cbe35 100644 --- a/public/index.php +++ b/public/index.php @@ -4,3 +4,8 @@ * Composer autoload */ require_once __DIR__ . '/../vendor/autoload.php'; + +/** + * todo: Create a new bootstrap architecture. + */ +require_once __DIR__ . '/../app/Bootstrap.php'; -- 2.40.1