NOW MANAGED ON CODEBERG
Moved config dir into app dir
Dan Brown97fdfa6ebe37
diff --git a/app/Application.php b/app/Application.phpnew file mode 100644index 000000000..8c56e9dac--- /dev/null+++ b/app/Application.php@@ -0,0 +1,19 @@+<?php++namespace BookStack;++class Application extends \Illuminate\Foundation\Application+{++ /**+ * Get the path to the application configuration files.+ *+ * @param string $path Optionally, a path to append to the config path+ * @return string+ */+ public function configPath($path = '')+ {+ return $this->basePath.DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'Config'.($path ? DIRECTORY_SEPARATOR.$path : $path);+ }++}\ No newline at end of filediff --git a/config/app.php b/app/Config/app.phpsimilarity index 100%rename from config/app.phprename to app/Config/app.phpdiff --git a/config/auth.php b/app/Config/auth.phpsimilarity index 100%rename from config/auth.phprename to app/Config/auth.phpdiff --git a/config/broadcasting.php b/app/Config/broadcasting.phpsimilarity index 100%rename from config/broadcasting.phprename to app/Config/broadcasting.phpdiff --git a/config/cache.php b/app/Config/cache.phpsimilarity index 100%rename from config/cache.phprename to app/Config/cache.phpdiff --git a/config/database.php b/app/Config/database.phpsimilarity index 100%rename from config/database.phprename to app/Config/database.phpdiff --git a/config/debugbar.php b/app/Config/debugbar.phpsimilarity index 100%rename from config/debugbar.phprename to app/Config/debugbar.phpdiff --git a/config/dompdf.php b/app/Config/dompdf.phpsimilarity index 100%rename from config/dompdf.phprename to app/Config/dompdf.phpdiff --git a/config/filesystems.php b/app/Config/filesystems.phpsimilarity index 100%rename from config/filesystems.phprename to app/Config/filesystems.phpdiff --git a/config/mail.php b/app/Config/mail.phpsimilarity index 100%rename from config/mail.phprename to app/Config/mail.phpdiff --git a/config/queue.php b/app/Config/queue.phpsimilarity index 100%rename from config/queue.phprename to app/Config/queue.phpdiff --git a/config/services.php b/app/Config/services.phpsimilarity index 100%rename from config/services.phprename to app/Config/services.phpdiff --git a/config/session.php b/app/Config/session.phpsimilarity index 100%rename from config/session.phprename to app/Config/session.phpdiff --git a/config/setting-defaults.php b/app/Config/setting-defaults.phpsimilarity index 100%rename from config/setting-defaults.phprename to app/Config/setting-defaults.phpdiff --git a/config/snappy.php b/app/Config/snappy.phpsimilarity index 100%rename from config/snappy.phprename to app/Config/snappy.phpdiff --git a/config/view.php b/app/Config/view.phpsimilarity index 100%rename from config/view.phprename to app/Config/view.phpdiff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.phpindex 9b91ba126..fa10d4874 100644--- a/app/Providers/AppServiceProvider.php+++ b/app/Providers/AppServiceProvider.php@@ -9,7 +9,6 @@ use BookStack\Entities\Page;use BookStack\Settings\Setting;use BookStack\Settings\SettingService;use Illuminate\Database\Eloquent\Relations\Relation;-use Illuminate\Http\UploadedFile;use Illuminate\Support\Facades\View;use Illuminate\Support\ServiceProvider;use Schema;diff --git a/bootstrap/app.php b/bootstrap/app.phpindex 371f93913..516980cc1 100644--- a/bootstrap/app.php+++ b/bootstrap/app.php@@ -11,7 +11,7 @@|*/-$app = new Illuminate\Foundation\Application(+$app = new \BookStack\Application(realpath(__DIR__.'/../'));