aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--composer.json1
-rw-r--r--lib/bootstrap.php4
2 files changed, 5 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index 0e7abb84..34f1a80f 100644
--- a/composer.json
+++ b/composer.json
@@ -36,6 +36,7 @@
"squizlabs/php_codesniffer": "^3.6"
},
"suggest": {
+ "php-webdriver/webdriver": "Required for Selenium usage",
"ext-memcached": "Allows to use memcached as cache type",
"ext-sqlite3": "Allows to use an SQLite database for caching",
"ext-zip": "Required for FDroidRepoBridge",
diff --git a/lib/bootstrap.php b/lib/bootstrap.php
index 29c8b97d..bfc7be39 100644
--- a/lib/bootstrap.php
+++ b/lib/bootstrap.php
@@ -1,5 +1,9 @@
<?php
+if (is_file(__DIR__ . '/../vendor/autoload.php')) {
+ require __DIR__ . '/../vendor/autoload.php';
+}
+
const PATH_LIB_CACHES = __DIR__ . '/../caches/';
const PATH_CACHE = __DIR__ . '/../cache/';