Expose precache progress endpoint to admin UI

This commit is contained in:
Terranom674
2026-08-15 16:58:43 +02:00
parent 05252354ae
commit 32d7e8d152

View File

@@ -129,6 +129,7 @@ $template->assign(array(
'WATERMARK_DEFAULTS' => $defaults, 'WATERMARK_DEFAULTS' => $defaults,
'WATERMARK_CATEGORIES' => $categories, 'WATERMARK_CATEGORIES' => $categories,
'WATERMARK_ENGINE' => $engine, 'WATERMARK_ENGINE' => $engine,
'PRECACHE_STATUS_URL' => get_root_url().'plugins/'.BRATONIEN_TOOLS_ID.'/precache-status.php',
)); ));
$template->set_filename('plugin_admin_content', BRATONIEN_TOOLS_PATH . 'template/admin.tpl'); $template->set_filename('plugin_admin_content', BRATONIEN_TOOLS_PATH . 'template/admin.tpl');