============================================== Graphic Template Editor - Setup Script ==============================================
Step 1: Checking PHP version...
✓ PHP version 8.1.33 (OK)
Step 2: Checking PHP extensions...
✓ Extension 'gd' is loaded
✓ Extension 'json' is loaded
✓ Extension 'mbstring' is loaded
Step 3: Checking GD capabilities...
✓ GD Version: 2.3.3
✓ PNG support enabled
✓ JPEG support enabled
⚠ GIF support not available
✓ WebP support enabled
Step 4: Creating directory structure...
✓ Exists: public/assets/uploads
✓ Writable
✓ Exists: public/assets/css
✓ Writable
✓ Exists: public/assets/js
✓ Writable
✓ Exists: public/examples/rendered
✓ Writable
✓ Exists: public/examples/templates
✓ Writable
✓ Exists: templates
✓ Writable
✓ Exists: fonts
✓ Writable
✓ Exists: logs
✓ Writable
✓ Exists: cache
✓ Writable
✓ Exists: src/Renderer
✓ Writable
✓ Exists: src/Models
✓ Writable
✓ Exists: src/Utils
✓ Writable
Step 5: Creating .htaccess files...
✓ Created public/.htaccess
✓ Protected: src
✓ Protected: templates
✓ Protected: logs
✓ Protected: cache
Step 6: Setting up default font...
⚠ No system font found. You may need to add fonts manually.
Place TTF fonts in the 'fonts/' directory
Step 7: Creating example templates...
✓ Created example template
Step 8: Testing rendering engine...