summaryrefslogtreecommitdiffstats
path: root/prog
diff options
context:
space:
mode:
Diffstat (limited to 'prog')
-rw-r--r--prog/sear.php/index.php2
-rw-r--r--prog/sear.php/osdd.xml1
2 files changed, 1 insertions, 2 deletions
diff --git a/prog/sear.php/index.php b/prog/sear.php/index.php
index fc08c68..58d5600 100644
--- a/prog/sear.php/index.php
+++ b/prog/sear.php/index.php
@@ -291,7 +291,7 @@ if (!empty($_REQUEST["f"])) {
if ($q == null) {
die(template("", "iskalnik sear.php", "dobrodošli v iskalniku sear.php, naslednjiku programa sear.c. za iskanje po spletu nekaj vnesite v iskalno vrstico zgoraj in pritisnite na gumb."));
}
-try_query_google($q, $image, $exact);
+$response = try_query_google($q, $image, $exact);
if ($response["status"] != true) {
if ($response["code"] == "captcha") {
foreach (["http://searc.oliwerix.com/sear.php?ref=b"] as $fallback) {
diff --git a/prog/sear.php/osdd.xml b/prog/sear.php/osdd.xml
index 3b8b504..8ef499d 100644
--- a/prog/sear.php/osdd.xml
+++ b/prog/sear.php/osdd.xml
@@ -1,5 +1,4 @@
<?xml version="1.0"?>
- percent percent. -->
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" >
<ShortName>sear.c @ REPLACEME</ShortName>
<Description>sear.c @ REPLACEME</Description>