HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode-site/config/twill.php
<?php

return [
    'settings' => true,

    'file_library' => [
        'disk' => 'local',
    ],

    'dashboard' => [
        'modules' => [
            'pages' => [
                'name' => 'pages',
                'count' => true,
                'create' => true,
                'activity' => true,
                'draft' => true,
                'search' => true,
                'search_fields' => ['title', 'description']
            ],
            'categories' => [
                'name' => 'categories',
                'count' => true,
                'create' => false,
                'activity' => true,
                'draft' => true,
                'search' => true,
                'search_fields' => ['title', 'description']
            ],
        ],


//        'analytics' => [
//            'enabled' => true,
//            'service_account_credentials_json' => storage_path('app/analytics/service-account-credentials.json'),
//        ],
    ],

    'block_editor' => [
        'blocks' => [
            'quote' => [
                'title' => 'Quote',
                'icon' => 'text',
                'component' => 'a17-block-quote',
            ],
            'hero' => [
                'title' => 'Hero',
                'icon' => 'revision-single',
                'component' => 'a17-block-hero',
            ],
            'hero_index' => [
                'title' => 'Hero Index',
                'icon' => 'revision-single',
                'component' => 'a17-block-hero_index',
            ],
            'hero_locations' => [
                'title' => 'Hero Locations',
                'icon' => 'revision-single',
                'component' => 'a17-block-hero_locations',
            ],
            'cta' => [
                'title' => 'CTA',
                'icon' => 'text',
                'component' => 'a17-block-cta',
            ],
            'speakers' => [
                'title' => 'Speakers',
                'icon' => 'text',
                'component' => 'a17-block-speakers',
            ],
            'image' => [
                'title' => 'Image',
                'icon' => 'image',
                'component' => 'a17-block-image',
            ],
            'hot_categories' => [
                'title' => 'Hot categories',
                'icon' => 'media-grid',
                'component' => 'a17-block-hot_categories',
            ],
            'categories' => [
                'title' => 'Categories',
                'icon' => 'media-grid',
                'component' => 'a17-block-categories',
            ],
            'team' => [
                'title' => 'Team',
                'icon' => 'media-grid',
                'component' => 'a17-block-team',
            ],
            'team_stats' => [
                'title' => 'Team Stats',
                'icon' => 'media-grid',
                'component' => 'a17-block-team_stats',
            ],
            'inside_job' => [
                'title' => 'Inside Job',
                'icon' => 'media-grid',
                'component' => 'a17-block-inside_job',
            ],
            'stack' => [
                'title' => 'Stack',
                'icon' => 'media-grid',
                'component' => 'a17-block-stack',
            ],
            'features_list' => [
                'title' => 'Features',
                'icon' => 'media-grid',
                'component' => 'a17-block-features_list',
            ],
            'map' => [
                'title' => 'Map',
                'icon' => 'media-grid',
                'component' => 'a17-block-map',
            ],
            'video' => [
                'title' => 'Video',
                'icon' => 'media-image',
                'component' => 'a17-block-video',
            ],
            'gallery2' => [
                'title' => 'Gallery',
                'icon' => 'media-flex-grid',
                'component' => 'a17-block-gallery2',
            ],
            'values' => [
                'title' => 'Values',
                'icon' => 'media-grid',
                'component' => 'a17-block-values',
            ],
        ],
        'crops' => [
            'image' => [
                'default' => [
                    [
                        'name' => 'default',
                        'ratio' => 0,
                    ],
                ],
            ],
        ],
        'files' => ['video', 'video_full'],
        'repeaters' => [
            'team_stats_item' => [
                'title' => 'Slide',
                'trigger' => 'Add slide',
                'component' => 'a17-block-team_stats_item',
            ],
            'inside_job_item' => [
                'title' => 'Item',
                'trigger' => 'Add tem',
                'component' => 'a17-block-inside_job_item',
            ],
            'features_list_item' => [
                'title' => 'Feature item',
                'trigger' => 'Add feature',
                'component' => 'a17-block-features_list_item',
            ],
            'values_item' => [
                'title' => 'Values item',
                'trigger' => 'Add value',
                'component' => 'a17-block-values_item',
            ],
            'text_item' => [
                'title' => 'Text item',
                'trigger' => 'Add text',
                'component' => 'a17-block-text_item',
            ],
            'signed_image_item' => [
                'title' => 'Signed Image item',
                'trigger' => 'Add Block',
                'component' => 'a17-block-signed_image_item',
            ],
        ]
    ],

    'buckets' => [
        'main' => [
            'name' => 'Navigation',
            'buckets' => [
                'main_navigation' => [
                    'name' => 'Main navigation',
                    'bucketables' => [
                        [
                            'module' => 'pages',
                            'name' => 'pages',
                            'scopes' => ['published' => true],
                        ],
                    ],
                    'max_items' => 5,
                ],
            ],
        ],
    ],

    'bucketsRoutes' => [
        'main' => 'navigation',
    ],
];