Require the registries this renderer's callers read
The AI tab included this without confform.php and referenced a constant from it, which is a fatal, which is a blank page.
This commit is contained in:
@@ -58,6 +58,12 @@
|
||||
// css/varaverk.css the vv-cf-* family these classes belong to
|
||||
// ═══════════════════════════════════════════════════════════════════════════════════════════════
|
||||
|
||||
// Required, not assumed. This file emits the renderer for fields that confform.php parses, and
|
||||
// the pages that include it also read its registries — VV_UI_SECTION_SURFACES among them. Left to
|
||||
// whichever page happened to have pulled it in first, that works everywhere it was tested and
|
||||
// fatals on the one page that included this without it, which is what took the AI tab blank.
|
||||
require_once __DIR__ . '/confform.php';
|
||||
|
||||
function vv_conf_ui_assets(): void {
|
||||
static $done = false;
|
||||
if ($done) return;
|
||||
|
||||
Reference in New Issue
Block a user