mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-29 10:55:43 -05:00
18 lines
676 B
PHP
18 lines
676 B
PHP
<?php
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Addon Lifecycle Hooks
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| When enabled, the Panel executes the hook scripts that addons place under
|
|
| "addons/<name>/hooks/<event>" during lifecycle events such as post-install
|
|
| (see the p:environment:addons:run-hooks command). These scripts run with
|
|
| the privileges of the invoking process — often root during an upgrade — so
|
|
| only enable this if you trust every installed addon.
|
|
|
|
|
*/
|
|
'hooks_enabled' => env('ADDONS_HOOKS_ENABLED', false),
|
|
];
|