File tree 3 files changed +5
-0
lines changed
3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,9 @@ public static function search()
202
202
$ url = 'https://www.bing.com/search ' ;
203
203
$ var = 'q ' ;
204
204
break ;
205
+ case 'startpage ' :
206
+ $ url = 'https://www.startpage.com/ ' ;
207
+ $ var = 'q ' ;
205
208
}
206
209
$ output .= '<div class="searchform"> ' ;
207
210
$ output .= Form::open (['url ' => $ url , 'method ' => 'get ' ]);
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ public function run()
91
91
'google ' => 'app.options.google ' ,
92
92
'ddg ' => 'app.options.ddg ' ,
93
93
'bing ' => 'app.options.bing '
94
+ 'startpage' => 'app.options.startpage'
94
95
]);
95
96
96
97
if (!$ setting = Setting::find (4 )) {
Original file line number Diff line number Diff line change 33
33
'options.google ' => 'Google ' ,
34
34
'options.ddg ' => 'DuckDuckGo ' ,
35
35
'options.bing ' => 'Bing ' ,
36
+ 'options.startpage ' => 'StartPage ' ,
36
37
'options.yes ' => 'Yes ' ,
37
38
'options.no ' => 'No ' ,
38
39
You can’t perform that action at this time.
0 commit comments