summaryrefslogtreecommitdiffstats
path: root/search.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2010-02-02 13:53:17 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2010-02-02 13:53:17 +0000
commitf7dbe67dbdf5b4b09c703058dfc3eb97f8fe852e (patch)
tree1ebb97973a79c2ad22b40ddca4962c9544bdb19d /search.php
parent77c5628d447a7c86b4e193c3986f4d7262dc2ac4 (diff)
downloadampache-f7dbe67dbdf5b4b09c703058dfc3eb97f8fe852e.tar.gz
ampache-f7dbe67dbdf5b4b09c703058dfc3eb97f8fe852e.tar.bz2
ampache-f7dbe67dbdf5b4b09c703058dfc3eb97f8fe852e.zip
added ability to add ampache as a search descriptor Resolves #586
Diffstat (limited to 'search.php')
-rw-r--r--search.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/search.php b/search.php
index 9857f8c9..7b977526 100644
--- a/search.php
+++ b/search.php
@@ -55,6 +55,12 @@ switch ($_REQUEST['action']) {
default:
require_once Config::get('prefix') . '/templates/show_search.inc.php';
break;
+ case 'descriptor':
+ // This is a little special we don't want header/footers so trash what we've got in the OB
+ ob_clean();
+ require_once Config::get('prefix') . '/templates/show_search_descriptor.inc.php';
+ exit;
+ break;
}
/* Show the Footer */