<?php
/*
 * Personalized Magazine Engine — local/default configuration.
 * PHP 7.4 compatible.
 *
 * Laragon default MySQL often uses root with an empty password.
 * Change these values for production.
 */
return array(
    'app_name' => 'THIS YOU',
    'base_url' => '', // Leave blank for auto-detection, or set e.g. http://localhost/!fashion/personalized_magazine_engine

    'db' => array(
	    'host' => 'localhost',
    'name' => 'fashion_magazine_engine_v1',
    'user' => 'root',
	
     //   'host' => '127.0.0.1',
      //  'port' => 3306,
      //  'name' => 'fashion_magazine_engine',
      //  'user' => 'root',
        'pass' => '',
        'charset' => 'utf8mb4'
    ),


    'admin_key' => 'change-this-admin-key',
    'auto_migrate' => true,

    'generation' => array(
        'provider' => 'demo', // demo | manual. AI provider can be added without changing the magazine engine.
        'editorial_challenge_ratio' => 0.20
    ),

    // THIS YOU Production Factory API (V2.1). Keep the real token only in local config/env.
    'production_factory' => array(
        'enabled' => false,
        'api_url' => 'http://127.0.0.1:8787',
        'api_token' => '',
        'connect_timeout_seconds' => 5,
        'request_timeout_seconds' => 30,
        'poll_interval_seconds' => 5
    ),

    'print' => array(
        /*
         * These are PREVIEW defaults only. Before a real POD order, replace them with the
         * exact exported-PDF dimensions supplied by the chosen POD printer.
         */
        'page_width_in' => 8.5,
        'page_height_in' => 11.0,
        'cover_width_in' => 17.0,
        'cover_height_in' => 11.0,
        'chrome_path' => '',
        'exports_dir' => __DIR__ . '/../exports'
    )
);
