From e16bca4f76fde5cea40b5a855ed9210718a7ed76 Mon Sep 17 00:00:00 2001 From: Friendika Date: Mon, 21 Mar 2011 19:33:06 -0700 Subject: [PATCH] first prototype of profile match against global directory (hint: set some keywords) --- mod/install.php | 2 +- mod/match.php | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 mod/match.php diff --git a/mod/install.php b/mod/install.php index 173df6d4b9..5c508e4f2c 100644 --- a/mod/install.php +++ b/mod/install.php @@ -14,7 +14,7 @@ function install_post(&$a) { $phpath = notags(trim($_POST['phpath'])); require_once("dba.php"); - unset ($db); + unset($db); $db = new dba($dbhost, $dbuser, $dbpass, $dbdata, true); if(mysqli_connect_errno()) { diff --git a/mod/match.php b/mod/match.php new file mode 100644 index 0000000000..ce2ece428c --- /dev/null +++ b/mod/match.php @@ -0,0 +1,42 @@ +' . '' . $jj[1] . '' . $jj[0] . ''; + } + } + else { + notice( t('No matches') . EOL); + } + + } + return $o; +} \ No newline at end of file