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']); 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)) { 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',