KARVI PARTNER CONTRACT — SERVER INSTALLATION
============================================

IMPORTANT — READ FIRST
----------------------
After extracting the zip, you must see these files DIRECTLY in your web folder:

  index.php
  index.html
  router.php
  .htaccess
  assets/
  config/
  pages/
  ...

WRONG (causes "Index of /..." directory listing):
  your-folder/Karvi_partner_contract/index.php   <-- nested extra folder

RIGHT:
  your-folder/index.php                          <-- files at folder root


STEP 1 — EXTRACT
----------------
1. Open the zip on your computer.
2. Select ALL files inside (index.php, assets, config, …).
3. Upload them into your server folder, e.g.:
     /karvi-pro/contract/
   NOT into /karvi-pro/contract/Karvi_partner_contract/


STEP 2 — SUBFOLDER (.htaccess)  *** IMPORTANT ***
-----------------------------------------------
This zip is pre-configured for:
  https://yourdomain.de/karvi-pro/contract/

In .htaccess this line must match your URL path:
  RewriteBase /karvi-pro/contract/

If your path is different, change it (must start and end with /).
If still HTTP 500, open:  https://yourdomain.de/karvi-pro/contract/check.php


STEP 3 — PERMISSIONS
--------------------
Make writable (chmod 755 or 775):
  uploads/contracts
  uploads/signatures
  uploads/signed
  database


STEP 4 — OPEN APP
-----------------
  https://yourdomain.de/karvi-pro/contract/
  Admin:  https://yourdomain.de/karvi-pro/contract/admin/login

Default login: admin / 123456  (change in config/config.php)


STEP 5 — PHP
------------
PHP 8.0+ with extensions: gd, mbstring, curl, openssl
