first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

14
admin/logout.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
use KupShop\AdminBundle\Util\LegacyAdminCredentials;
use KupShop\KupShopBundle\Util\Compat\ServiceContainer;
/** @var LegacyAdminCredentials $legacyAdminCredentials */
$legacyAdminCredentials = ServiceContainer::getService(LegacyAdminCredentials::class);
$legacyAdminCredentials->unsetLoginSession();
$url = (getVal('url') != '') ? '&url='.getVal('url') : '';
redirect('index.php?error=5'.$url);
// ##############################################################