����JFIF��`�`�����Viewing File: /home/u820193700/domains/throtllr.com/public_html/fix_permissions.php
<?php
// fix_permissions.php
// Place this inside your public_html folder and access it via https://throtllr.com/fix_permissions.php

echo "<h2>Fixing Hostinger Deployment Permissions...</h2>";

function fix_permissions($dir) {
    if (!is_dir($dir)) return;
    
    // Set directory to 755
    chmod($dir, 0755);
    
    $items = scandir($dir);
    foreach ($items as $item) {
        if ($item == '.' || $item == '..') continue;
        
        $path = $dir . DIRECTORY_SEPARATOR . $item;
        if (is_dir($path)) {
            fix_permissions($path);
        } else {
            // Set file to 644
            chmod($path, 0644);
        }
    }
}

try {
    fix_permissions(__DIR__);
    echo "<p style='color:green; font-weight:bold;'>Success! All files and folders have been set to correct permissions (Folders: 755, Files: 644).</p>";
    echo "<p>Please delete this file (fix_permissions.php) from your server for security.</p>";
    echo "<p><a href='/'>Click here to go back to the homepage.</a></p>";
} catch (Exception $e) {
    echo "<p style='color:red;'>Error: " . $e->getMessage() . "</p>";
}
?>
Back to Directory �������}�!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�������������������������������������������������������������������������������� ������w�!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz������������������������������������������������������������������������ ��?��_��+��?��(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(���(�����