Hooks
This commit is contained in:
parent
a235246d65
commit
e306c911c3
@ -1,5 +1,5 @@
|
||||
#!/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
|
||||
|
||||
# Prettify all selected files
|
||||
|
||||
20
Plugin.php
20
Plugin.php
@ -5,16 +5,16 @@ use System\Classes\PluginBase;
|
||||
|
||||
class Plugin extends PluginBase
|
||||
{
|
||||
public function registerComponents()
|
||||
{
|
||||
}
|
||||
public function registerComponents()
|
||||
{
|
||||
}
|
||||
|
||||
public function registerSettings()
|
||||
{
|
||||
}
|
||||
public function registerSettings()
|
||||
{
|
||||
}
|
||||
|
||||
public function boot()
|
||||
{
|
||||
Config::set('database.connections.germanairlinesva_fleet', Config::get('germanairlinesva.fleet::connection'));
|
||||
}
|
||||
public function boot()
|
||||
{
|
||||
Config::set('database.connections.germanairlinesva_fleet', Config::get('germanairlinesva.fleet::connection'));
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
plugin:
|
||||
name: 'germanairlinesva.fleet::lang.plugin.name'
|
||||
description: 'germanairlinesva.fleet::lang.plugin.description'
|
||||
name: 'germanairlinesva.fleet::lang.plugin.name'
|
||||
description: 'germanairlinesva.fleet::lang.plugin.description'
|
||||
author: 'German Airlines VA'
|
||||
icon: oc-icon-plane
|
||||
homepage: ''
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user