aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-28 16:05:09 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-28 16:05:09 -0700
commita0f6f8ad533ee0ef89cee104d0d0ef1c0c54be7b (patch)
treeea0e29115182d47c97f3890fd2807aa881f8c405 /boot.php
parent42e6b6cfe4f0b2bd6a2e8361479cb813857ca0e6 (diff)
downloadvolse-hubzilla-a0f6f8ad533ee0ef89cee104d0d0ef1c0c54be7b.tar.gz
volse-hubzilla-a0f6f8ad533ee0ef89cee104d0d0ef1c0c54be7b.tar.bz2
volse-hubzilla-a0f6f8ad533ee0ef89cee104d0d0ef1c0c54be7b.zip
preserve utf-8 on notification emails
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php16
1 files changed, 15 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 1c74cc156..07810a50e 100644
--- a/boot.php
+++ b/boot.php
@@ -1295,4 +1295,18 @@ function activity_match($haystack,$needle) {
if(($haystack === $needle) || (($basename($needle) === $haystack) && strstr($needle,NAMESPACE_ACTIVITY_SCHEMA)))
return true;
return false;
-}} \ No newline at end of file
+}}
+
+
+if(! function_exists('get_tags')) {
+function get_tags($s) {
+ if(preg_match_all('/([@#][^ ,.:?\-]*)[ ,.:?\-]/',$s,$match))
+ return $match[1];
+}}
+
+
+if(! function_exists('qp')) {
+function qp($s) {
+return str_replace ("%","=",rawurlencode($s));
+}}
+