aboutsummaryrefslogtreecommitdiffstats
path: root/library/urlify/tests/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/urlify/tests/bootstrap.php')
-rw-r--r--library/urlify/tests/bootstrap.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/urlify/tests/bootstrap.php b/library/urlify/tests/bootstrap.php
new file mode 100644
index 000000000..d56d46665
--- /dev/null
+++ b/library/urlify/tests/bootstrap.php
@@ -0,0 +1,9 @@
+<?php
+set_error_handler(function () {
+ echo file_get_contents(dirname(__DIR__).'/INSTALL');
+ exit(1);
+}, E_ALL);
+
+require_once dirname(__DIR__) . '/vendor/autoload.php';
+
+restore_error_handler();