aboutsummaryrefslogtreecommitdiffstats
path: root/library/urlify/tests/bootstrap.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-30 18:51:44 -0700
committerfriendica <info@friendica.com>2012-07-30 18:51:44 -0700
commit02cc436ec7cf0cfca5fc9b5166cc537bbee53671 (patch)
treed7e5eea4e22ed1befeab5706a30ce1e1ac064972 /library/urlify/tests/bootstrap.php
parent194c52aee590a209cc38ee8fb322ff7dc4a9143d (diff)
downloadvolse-hubzilla-02cc436ec7cf0cfca5fc9b5166cc537bbee53671.tar.gz
volse-hubzilla-02cc436ec7cf0cfca5fc9b5166cc537bbee53671.tar.bz2
volse-hubzilla-02cc436ec7cf0cfca5fc9b5166cc537bbee53671.zip
Added urlify to try and create webbie auto-suggestions out of whatever unicode stuff gets thrown in as a name. Currently this will only work for latin/european/cyrillic/russian, but possible to extend to ideographic forms.
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();