Jordan Diaz 34d1458f3a perf: self-provision the traducciones index required by batched t()
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.
2026-07-21 18:34:10 +00:00
2026-04-21 08:09:21 +01:00
2026-03-06 18:11:23 +00:00
2026-06-09 09:44:45 +00:00
2026-04-15 20:00:09 +01:00
2026-04-09 18:15:11 +01:00
2026-04-15 19:58:40 +01:00
2026-03-22 13:13:40 +00:00
2026-03-06 18:11:52 +00:00
2026-04-15 20:00:09 +01:00

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
No description provided
Readme 200 MiB
Languages
PHP 91%
JavaScript 6.1%
Smarty 2.1%
SCSS 0.7%