diff options
author | Friendika <info@friendika.com> | 2011-06-29 00:40:43 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-29 00:40:43 -0700 |
commit | 62340ba86bccf03de962c16c06e60f7c286e35e5 (patch) | |
tree | bcc5e1e488f31e4def3be315c29aaca621e378e0 | |
parent | 48521fa4e131cd77cb8e8cdb32ff1f96120ec4f5 (diff) | |
download | volse-hubzilla-62340ba86bccf03de962c16c06e60f7c286e35e5.tar.gz volse-hubzilla-62340ba86bccf03de962c16c06e60f7c286e35e5.tar.bz2 volse-hubzilla-62340ba86bccf03de962c16c06e60f7c286e35e5.zip |
get app structure needed in regmod
-rw-r--r-- | mod/regmod.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/regmod.php b/mod/regmod.php index 8e6a577d4..76ea4062e 100644 --- a/mod/regmod.php +++ b/mod/regmod.php @@ -1,6 +1,9 @@ <?php function user_allow($hash) { + + $a = get_app(); + $register = q("SELECT * FROM `register` WHERE `hash` = '%s' LIMIT 1", dbesc($hash) ); |