
diff --git a/classes/Config.php b/classes/Config.php index 40c0de5..2f337ea 100644 --- a/classes/Config.php +++ b/classes/Config.php @@ -112,6 +112,13 @@ class Config */ public $avconvVerbosity = 'error'; + /** + * App name + * + * @var string + */ + public $appName = 'AllTube Download'; + /** * YAML config file path. * diff --git a/config/config.example.yml b/config/config.example.yml index 743a0af..9d1c4f4 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -42,3 +42,6 @@ remux: false # MP3 bitrate when converting (in kbit/s) audioBitrate: 128 + +# App name +appName: AllTube Download diff --git a/controllers/FrontController.php b/controllers/FrontController.php index e0b2633..41e8020 100644 --- a/controllers/FrontController.php +++ b/controllers/FrontController.php @@ -162,6 +162,7 @@ class FrontController $response, 'extractors.tpl', [ + 'config' => $this->config, 'extractors' => $this->download->listExtractors(), 'class' => 'extractors', 'title' => _('Supported websites'), diff --git a/templates/inc/head.tpl b/templates/inc/head.tpl index 3524870..b4a5cf1 100644 --- a/templates/inc/head.tpl +++ b/templates/inc/head.tpl @@ -10,13 +10,13 @@ {/if} -