This commit is contained in:
Your Name 2021-08-04 01:22:39 +02:00
parent a235246d65
commit e306c911c3
3 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
FILES=$(git diff --cached --name-only --diff-filter=ACMR -- './**/*.{php,html,yaml}' | sed 's| |\\ |g') FILES=$(git diff --cached --name-only --diff-filter=ACMR -- '*.php' '*.html' '*.yaml' | sed 's| |\\ |g')
[ -z "$FILES" ] && exit 0 [ -z "$FILES" ] && exit 0
# Prettify all selected files # Prettify all selected files

View File

@ -5,16 +5,16 @@ use System\Classes\PluginBase;
class Plugin extends PluginBase class Plugin extends PluginBase
{ {
public function registerComponents() public function registerComponents()
{ {
} }
public function registerSettings() public function registerSettings()
{ {
} }
public function boot() public function boot()
{ {
Config::set('database.connections.germanairlinesva_fleet', Config::get('germanairlinesva.fleet::connection')); Config::set('database.connections.germanairlinesva_fleet', Config::get('germanairlinesva.fleet::connection'));
} }
} }

View File

@ -1,6 +1,6 @@
plugin: plugin:
name: 'germanairlinesva.fleet::lang.plugin.name' name: 'germanairlinesva.fleet::lang.plugin.name'
description: 'germanairlinesva.fleet::lang.plugin.description' description: 'germanairlinesva.fleet::lang.plugin.description'
author: 'German Airlines VA' author: 'German Airlines VA'
icon: oc-icon-plane icon: oc-icon-plane
homepage: '' homepage: ''