32 lines
1.2 KiB
PHP
32 lines
1.2 KiB
PHP
<?php
|
|
// Test aller Formulare auf HTTPS
|
|
echo "🔒 Test aller Formulare auf HTTPS\n";
|
|
echo "===============================\n\n";
|
|
|
|
$forms = [
|
|
'resources/views/auth/login.blade.php' => 'Login-Formular',
|
|
'resources/views/user-nail-polishes/create.blade.php' => 'Create Nail Polish',
|
|
'resources/views/user-nail-polishes/index.blade.php' => 'Remove Nail Polish',
|
|
'resources/views/nail-polishes/index.blade.php' => 'Admin Delete Nail Polish',
|
|
'resources/views/admin/users/create.blade.php' => 'Admin Create User',
|
|
'resources/views/admin/users/edit.blade.php' => 'Admin Edit User',
|
|
'resources/views/admin/users/index.blade.php' => 'Admin Delete User'
|
|
];
|
|
|
|
foreach ($forms as $file => $description) {
|
|
if (file_exists($file)) {
|
|
$content = file_get_contents($file);
|
|
if (strpos($content, 'action="https://neonail.vogt.de.com') !== false) {
|
|
echo " ✅ $description: HTTPS-URL gefunden\n";
|
|
} else {
|
|
echo " ❌ $description: Keine HTTPS-URL gefunden\n";
|
|
}
|
|
} else {
|
|
echo " ❌ $description: Datei nicht gefunden\n";
|
|
}
|
|
}
|
|
|
|
echo "\n✅ Alle Formulare getestet!\n";
|
|
echo "🔗 Testen Sie jetzt: https://neonail.vogt.de.com\n";
|
|
?>
|