mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 11:25:52 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
20 lines
698 B
PHP
20 lines
698 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
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),
|
|
];
|