mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 19:54:31 +00:00
Expose precache progress endpoint to admin UI
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user