From 01748fec495e98fa5574e0cd2a78487c57dba440 Mon Sep 17 00:00:00 2001 From: chbmb Date: Wed, 25 Apr 2018 22:38:30 +0100 Subject: [PATCH 1/3] Update Setting.php --- app/Setting.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Setting.php b/app/Setting.php index 75e2c158..492c4e8c 100644 --- a/app/Setting.php +++ b/app/Setting.php @@ -202,6 +202,9 @@ class Setting extends Model $url = 'https://www.bing.com/search'; $var = 'q'; break; + case 'startpage': + $url = 'https://www.startpage.com/'; + $var = 'q'; } $output .= '
'; $output .= Form::open(['url' => $url, 'method' => 'get']); From b8beb07df54944e25ba3248fe5ecfffbb20900d3 Mon Sep 17 00:00:00 2001 From: chbmb Date: Wed, 25 Apr 2018 22:39:29 +0100 Subject: [PATCH 2/3] Update app.php --- resources/lang/en/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/app.php b/resources/lang/en/app.php index 920b26ed..52d3bafd 100644 --- a/resources/lang/en/app.php +++ b/resources/lang/en/app.php @@ -33,6 +33,7 @@ return [ 'options.google' => 'Google', 'options.ddg' => 'DuckDuckGo', 'options.bing' => 'Bing', + 'options.startpage' => 'StartPage', 'options.yes' => 'Yes', 'options.no' => 'No', From 2b65559f3658b0bffb2cc58f827498e3a1db4141 Mon Sep 17 00:00:00 2001 From: chbmb Date: Wed, 25 Apr 2018 22:40:15 +0100 Subject: [PATCH 3/3] Update SettingsSeeder.php --- database/seeds/SettingsSeeder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/database/seeds/SettingsSeeder.php b/database/seeds/SettingsSeeder.php index 6adfb035..53296d63 100644 --- a/database/seeds/SettingsSeeder.php +++ b/database/seeds/SettingsSeeder.php @@ -91,6 +91,7 @@ class SettingsSeeder extends Seeder 'google' => 'app.options.google', 'ddg' => 'app.options.ddg', 'bing' => 'app.options.bing' + 'startpage' => 'app.options.startpage' ]); if(!$setting = Setting::find(4)) {