Iniciar

⚠️ Passo 1: Configurar o servidor web

Não é opcional. O bare-site requer estas regras do nginx. Copie nginx/default.conf — as três regras críticas:

# 1. APENAS index.php pode executar PHP
location = /index.php { fastcgi_pass ...; }
location ~ \.php$ { return 404; }
# 2. Tudo passa pelo index.php
location / { try_files $uri $uri/ /index.php?$query_string; }

2. Colocar os arquivos

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

3. Config

class/config.phpSITE_NAME, slugs, idiomas.

4. Páginas

Arquivos .phtml em lng/{lang}/ — HTML puro.

5. Idioma

Adicionar em config.php, criar diretório, traduzir. Aparece automaticamente.