chore(security): remove root debug_menu.php probe script (BIT-31738)
Paperclip-Issue: BIT-31738
This commit is contained in:
1 parent
7d55c243a8
commit
a77d0f661d
1 file changed
-31
@@ -1,31 +0,0 @@
|
||||
<?php
|
||||
require_once "/data/wwwroot/redirect.moneyflix.com/vendor/autoload.php";
|
||||
\App\Core\EnvironmentLoader::load();
|
||||
|
||||
echo "=== DEBUG MENU ===\n";
|
||||
echo "Client ID: " . \App\Core\Branding::getClientId() . "\n";
|
||||
|
||||
echo "\n=== PATH MANAGER ===\n";
|
||||
echo "Modules Path: " . \App\Core\PathManager::getModulesPath() . "\n";
|
||||
echo "Config file exists: " . (file_exists(\App\Core\PathManager::getModulesPath() . "/config.php") ? "YES" : "NO") . "\n";
|
||||
|
||||
echo "\n=== MODULE CONFIG ===\n";
|
||||
$configPath = \App\Core\PathManager::getModulesPath() . "/config.php";
|
||||
if (file_exists($configPath)) {
|
||||
$config = require $configPath;
|
||||
echo "Config loaded: " . json_encode($config, JSON_PRETTY_PRINT) . "\n";
|
||||
} else {
|
||||
echo "Config file not found!\n";
|
||||
}
|
||||
|
||||
$moduleConfig = \App\Core\ModuleConfig::getInstance();
|
||||
echo "Redirects active: " . ($moduleConfig->isModuleActive("Redirects", "moneyflix") ? "YES" : "NO") . "\n";
|
||||
echo "Users active: " . ($moduleConfig->isModuleActive("Users", "moneyflix") ? "YES" : "NO") . "\n";
|
||||
|
||||
echo "\n=== MENU MANAGER ===\n";
|
||||
$menus = \App\Core\MenuManager::getMenus();
|
||||
echo "Registered menus: " . json_encode($menus, JSON_PRETTY_PRINT) . "\n";
|
||||
|
||||
echo "\n=== FINAL MENU ===\n";
|
||||
$finalMenu = \App\Core\MenuManager::getFinalMenu();
|
||||
echo "Final menu: " . json_encode($finalMenu, JSON_PRETTY_PRINT) . "\n";
|
||||
Reference in new issue
Block a user