<?php
/**
 * Template Builder - User Entry Point
 *
 * This page provides access to the template builder system
 */

// Include core configuration
require_once dirname(__FILE__) . '/f_core/config.core.php';

// Check if user is logged in
if (!isset($_SESSION['USER_ID']) || $_SESSION['USER_ID'] <= 0) {
    header('Location: /signin.php?redirect=' . urlencode($_SERVER['REQUEST_URI']));
    exit;
}

// Redirect to the template manager
header('Location: /f_modules/m_backend/template_manager.php');
exit;
