aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-21 20:19:33 -0800
committerFriendika <info@friendika.com>2011-02-21 20:19:33 -0800
commit5f2f64406407839d0a9d906e0ad165067d90d130 (patch)
tree08734b4cd12d7c66756bcde3d5bf9cf1ad32c67e /mod
parentd124c67322b8f79f18152d6f24394b3a38b4e0f5 (diff)
downloadvolse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.tar.gz
volse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.tar.bz2
volse-hubzilla-5f2f64406407839d0a9d906e0ad165067d90d130.zip
resolve file inclusion conflicts w/ multiple plugins, improve the typo checker
Diffstat (limited to 'mod')
-rw-r--r--mod/modexp.php2
-rw-r--r--mod/register.php4
2 files changed, 5 insertions, 1 deletions
diff --git a/mod/modexp.php b/mod/modexp.php
index 715ffe30c..bba2c2882 100644
--- a/mod/modexp.php
+++ b/mod/modexp.php
@@ -1,6 +1,6 @@
<?php
-include('library/asn1.php');
+require_once('library/asn1.php');
function modexp_init(&$a) {
diff --git a/mod/register.php b/mod/register.php
index 2d9168982..5c41fbfad 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -63,6 +63,10 @@ function register_post(&$a) {
return;
}
+ if(! validate_url($tmp_str))
+ $openid_url = '';
+
+
$err = '';