- Fix storage permissions to use 'www' user instead of 'www-data' - Fix UserModel getAllForAdmin query to avoid placeholders in LIMIT/OFFSET - Import missing modules: Advertising, Dashboard, Analytics - Update deploy script to copy files to public directory
67 lines
1.9 KiB
PHP
67 lines
1.9 KiB
PHP
<?php
|
|
return [
|
|
'campaign' => [
|
|
'default_status' => 'draft',
|
|
'statuses' => ['draft', 'active', 'paused', 'completed', 'archived'],
|
|
'types' => ['banner', 'popup', 'native', 'video', 'interstitial'],
|
|
'targeting_options' => [
|
|
'geo' => true,
|
|
'device' => true,
|
|
'browser' => true,
|
|
'time' => true,
|
|
'frequency' => true
|
|
]
|
|
],
|
|
'tracking' => [
|
|
'storage' => [
|
|
'primary' => 'redis',
|
|
'fallback' => 'file',
|
|
'file_path' => __DIR__ . '/../../../storage/logs/tracking/'
|
|
],
|
|
'events' => [
|
|
'view' => true,
|
|
'click' => true,
|
|
'register' => true,
|
|
'purchase' => true,
|
|
'custom' => true
|
|
],
|
|
'fraud_detection' => [
|
|
'enabled' => true,
|
|
'click_threshold' => 5,
|
|
'time_threshold' => 60,
|
|
'ip_blacklist' => true
|
|
]
|
|
],
|
|
'creatives' => [
|
|
'sizes' => [
|
|
'banner' => ['300x250', '728x90', '320x50', '970x250'],
|
|
'popup' => ['400x300', '500x400'],
|
|
'native' => ['1200x628', '600x315']
|
|
],
|
|
'formats' => ['jpg', 'png', 'gif', 'webp'],
|
|
'max_size' => 2048, // KB
|
|
'auto_resize' => true
|
|
],
|
|
'cdn' => [
|
|
'provider' => 'cloudflare',
|
|
's3_compatible' => true,
|
|
'endpoint' => 'https://cdn.betzoo.app',
|
|
'bucket' => 'betzoo-creatives',
|
|
'region' => 'us-east-1'
|
|
],
|
|
'google_sheets' => [
|
|
'enabled' => true,
|
|
'sync_interval' => 300, // 5 minutes
|
|
'worksheets' => [
|
|
'campaigns' => 'Campanhas',
|
|
'tracking' => 'Tracking',
|
|
'creatives' => 'Criativos'
|
|
]
|
|
],
|
|
'script_builder' => [
|
|
'output_path' => __DIR__ . '/../../../public/scripts/',
|
|
'template_path' => __DIR__ . '/Templates/',
|
|
'auto_deploy' => true
|
|
]
|
|
];
|