<?php
// =============================================================================
// includes/addaplaylist_constants.php
//
// Shared secret + base URL for self-registering this panel with addaplaylist.com.
// Mirrors the apksec_constants.php pattern: bundled with the panel codebase,
// never exposed in any admin UI, never written to panel.db.
//
// Auto-register flow (see db.php → addaplaylist_self_register):
//   1. On first panel.db creation, db_ensure_seed() spots the addaplaylist_*
//      columns are empty.
//   2. If THIS file exists and PANEL_REGISTER_SECRET is set, the seeder POSTs
//      to PANEL_REGISTER_URL with {domain, endpoint_path, register_secret}.
//   3. On 200, the returned {panel_code, auth_token} are written into the
//      config row → QR rewrite + api/addaplaylist.php auth gate go live.
//
// If this file is missing (e.g. a lite buyer's zip that intentionally strips
// it), addaplaylist_self_register() short-circuits → panel.db comes up with
// empty addaplaylist columns → QR + endpoint behave as legacy. No errors.
// =============================================================================

return [
    'PANEL_REGISTER_URL'    => 'https://addaplaylist.com/api/panel/register',
    'PANEL_REGISTER_SECRET' => 'a837457e451ff28b860c6eb097d6ea02',
];
