<?php
/* ============================================================================
   WBMCZ ADMIN — ANY CATEGORY, BY NUMBER

   The fallback door. Every category normally has its own file, but if this
   folder is read-only the file could not be written, and the sidebar points
   here instead so the menu still works.

   Because the category comes from the query string, this page cannot be handed
   out one shelf at a time — it needs the broad catalogue permission. That is
   the whole reason the per-category files exist.

   Opened by: products.view  (or gov_products.view for category 1)
   ============================================================================ */
$WB_CAT = isset($_GET['cat']) ? (int)$_GET['cat'] : 'all';
if ($WB_CAT === 0) { $WB_CAT = 'all'; }
require __DIR__ . '/includes/product_engine.php';
