<?php
// create_favicon.php - Run this to create default favicon
$image = imagecreate(32, 32);
$background = imagecolorallocate($image, 44, 62, 80); // #2c3e50
$text_color = imagecolorallocate($image, 52, 152, 219); // #3498db

// Draw "B" text
imagestring($image, 5, 12, 10, "B", $text_color);

// Save as PNG
imagepng($image, 'assets/images/favicon.png');
imagepng($image, 'uploads/favicon.png');

// Convert to ICO (requires GD)
// For ICO, you can use a converter or just use PNG

echo "Favicon created successfully!";
?>