Starten

⚠️ Stap 1: Webserver configureren

Niet optioneel. bare-site vereist deze nginx-regels. Kopieer nginx/default.conf — de drie kritieke regels:

# 1. ALLEEN index.php mag PHP uitvoeren
location = /index.php { fastcgi_pass ...; }
location ~ \.php$ { return 404; }
# 2. Alles loopt via index.php
location / { try_files $uri $uri/ /index.php?$query_string; }

2. Bestanden plaatsen

git clone https://your-repo/bare-site.git /var/www/html/

3. Config

class/config.phpSITE_NAME, slugs, talen.

4. Pagina’s

.phtml-bestanden in lng/{lang}/ — pure HTML.

5. Taal

Toevoegen aan config.php, directory aanmaken, vertalen. Verschijnt automatisch.