<?php
/**
 * BIS Campaign root path helper for cron/backend scripts.
 */
if (!defined('BIS_CAMPAIGN_ROOT')) {
    define('BIS_CAMPAIGN_ROOT', dirname(__DIR__));
}

// Web server document root path (override via env on deployment)
if (!defined('BIS_CAMPAIGN_WEB_ROOT')) {
    define('BIS_CAMPAIGN_WEB_ROOT', getenv('BIS_CAMPAIGN_WEB_ROOT') ?: '/var/www/html/bis-campaign');
}
