first commit
This commit is contained in:
26
forms/test-paths.php
Normal file
26
forms/test-paths.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', 1);
|
||||
|
||||
$vendorDir = dirname(__DIR__) . '/assets/vendor';
|
||||
$files = [
|
||||
'/phpmailer/src/Exception.php',
|
||||
'/phpmailer/src/PHPMailer.php',
|
||||
'/phpmailer/src/SMTP.php'
|
||||
];
|
||||
|
||||
echo "<h2>Pfad-Test</h2>";
|
||||
echo "Vendor Directory: " . $vendorDir . "<br><br>";
|
||||
|
||||
foreach ($files as $file) {
|
||||
$fullPath = $vendorDir . $file;
|
||||
echo "Checking: " . $fullPath . "<br>";
|
||||
if (file_exists($fullPath)) {
|
||||
echo "✅ Datei existiert<br>";
|
||||
echo "Dateirechte: " . substr(sprintf('%o', fileperms($fullPath)), -4) . "<br>";
|
||||
echo "Dateigröße: " . filesize($fullPath) . " bytes<br>";
|
||||
} else {
|
||||
echo "❌ Datei nicht gefunden<br>";
|
||||
}
|
||||
echo "<br>";
|
||||
}
|
||||
Reference in New Issue
Block a user