Skip to content

custom hooks

Latest
Compare
Choose a tag to compare
@pa-de-solminihac pa-de-solminihac released this 19 Oct 09:42
· 43 commits to master since this release

New feature : custom hooks

Move custom config files and hooks to directory etc in order to allow custom hooks

WARNING: this breaks backward compatibility.

Please upgrade by following instructions below.

Custom config for mysite.com now gos into etc/mysite.com/config,
which enables you to have custom hooks for this site in etc/mysite.com/hook

# move your custom config files to their new default location
find etc -type f -not -name "config" -not -name ".*" -not -path 'etc/hook/*' -exec sh -c 'FICH="{}"; mkdir ${FICH}_; mv ${FICH} ${FICH}_/config; mv ${FICH}_ $FICH' \;

# optional: move previous global hooks to their new default location
mv hook etc/