# Locking the Install Directory

To manually lock the install directory and prevent the application from redirecting you to the installer, you need to create a file named `installed.lock` within the `install/` directory.

## Steps

1.  **Navigate to the project root:**
    ```bash
    cd /var/www/madrasa.com/public_html
    ```

2.  **Create the lock file:**
    ```bash
    touch install/installed.lock
    ```

After creating this file, the `index.php` check will pass and you will be directed to the login page instead of the installer.

---
**Note:** In production, it is often recommended to completely remove or rename the `install/` directory for better security once the installation is complete.
