34d1458f3a29e80b0e1b54aebc1f23b0a09ef2f6
The batched translation preload requires the (tableName, recordNum, prefix) index; without it the per-record query scans and is slower than the legacy per-field lookup. t() now checks once per PHP process (static) whether idx_tabla_registro_prefijo exists, creates it on the fly when the DB user has ALTER rights (re-checking after a lost race), and otherwise falls back to the legacy per-field query — never slower than the original behavior on webs where the index cannot be created. Verified live: dropped the index on villagrancanaria local, first request recreated it automatically and subsequent renders stayed fast.
acai-vscode-webbase
Plantilla base PHP para webs locales de desarrollo con Acai CMS.
Descripcion
Este repositorio contiene la estructura base que se usa al crear nuevas webs locales. Incluye los archivos PHP necesarios, configuracion de Apache, y la estructura de directorios del CMS.
Estructura
.
├── index.php # Punto de entrada
├── header.php # Encabezado
├── footer.php # Pie de pagina
├── funciones.php # Funciones globales
├── slug.php # Gestion de URLs
├── sesion.php # Gestion de sesiones
├── apartados.php # Gestion de apartados
├── captcha.php # Verificacion CAPTCHA
├── .htaccess # Config Apache
├── .user.ini # Config PHP
├── .docker/ # Config Docker (Dockerfile, etc.)
├── cms/ # Core del CMS
│ ├── lib/ # Clases, handlers, plugins
│ ├── data/ # Schemas y cache
│ └── uploads/ # Archivos subidos
├── hooks/ # Hooks PHP del proyecto
├── template/ # Plantillas y modulos
└── cgi-bin/ # Scripts CGI
Relacion con el servidor
El servidor (acai-vscode-server) referencia este directorio como WEB_BASE_DIR para copiar la estructura base al crear nuevas webs locales. Se configura en ~/.docker-web-gui/config.json como web_base_dir.
Description
Languages
PHP
91%
JavaScript
6.1%
Smarty
2.1%
SCSS
0.7%