Actualización

This commit is contained in:
Xes
2025-04-10 12:36:07 +02:00
parent 1da7c3f3b9
commit 4aff98e77b
3147 changed files with 320647 additions and 0 deletions

14
plugin/sepe/admin.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
require_once __DIR__.'/config.php';
$plugin = SepePlugin::create();
$enable = $plugin->get('sepe_enable') == 'true';
$pluginPath = api_get_path(WEB_PLUGIN_PATH).'sepe/src/sepe-administration-menu.php';
if ($enable && api_is_platform_admin()) {
header('Location:'.$pluginPath);
exit;
} else {
header('Location: ../../index.php');
exit;
}