![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/soundstudiopro.com/public_html/utils/ |
<?php
// Simple fix to remove homepage redirect
$indexFile = '/home/gositeme/domains/soundstudiopro.com/public_html/index.php';
// Create backup
$backupFile = $indexFile . '.backup.' . date('Y-m-d-H-i-s');
copy($indexFile, $backupFile);
echo "✅ Backup created: " . basename($backupFile) . "\n";
// Read and modify the file
$content = file_get_contents($indexFile);
// Remove the redirect line
$content = str_replace("echo \"window.location.href = '/auth/login.php';\";", "// echo \"window.location.href = '/auth/login.php';\"; // Redirect disabled", $content);
// Write back
file_put_contents($indexFile, $content);
echo "✅ Homepage redirect removed!\n";
echo "🎉 You can now visit https://soundstudiopro.com without being redirected to login\n";
?>