PHP 8.2.30
Preview: site.php Size: 2.57 KB
//var/softaculous/directus/site.php

<?php

return [
    'database' => [
        'type' => 'mysql',
        'host' => '[[softdbhost]]',
        'port' => 3306,
        'name' => '[[softdb]]',
        'username' => '[[softdbuser]]',
        'password' => '[[softdbpass]]',
        'engine' => 'InnoDB',
        'charset' => 'utf8mb4',
        // Remove 'host' above when using sockets
        'socket' => '',
    ],

    'cookie' => [
        'same_site' => 'Lax',
        'secure' => false
    ],

    'cors' => [
        'enabled' => true,
        'origin' => array (
  0 => '*',
),
        'methods' => array (
  0 => 'GET',
  1 => 'POST',
  2 => 'PUT',
  3 => 'PATCH',
  4 => 'DELETE',
  5 => 'HEAD',
),
        'headers' => array (
),
        'exposed_headers' => array (
),
        'max_age' => 600,
        'credentials' => true,
    ],

    'rate_limit' => [
        'enabled' => false,
        'limit' => 100,
        'interval' => 60,
        'adapter' => 'redis',
        'host' => '127.0.0.1',
        'port' => 6379,
        'timeout' => 10,
    ],

    'storage' => [
        'adapter' => 'local',
        'root' => 'public/uploads/[[site_name]]/originals',
        'root_url' => '/uploads/[[site_name]]/originals',
        'thumb_root' => 'public/uploads/[[site_name]]/generated',
        // 'key' => '',
        // 'secret' => '',
        // 'region' => '',
        // 'version' => '',
        // 'bucket' => '',
        // 'options' => '',
        // 'endpoint' => '',
        // 'proxy_downloads' => '',
    ],

    'mail' => [
        'default' => [
            'transport' => 'sendmail',
            // 'sendmail' => '',
            // 'host' => '',
            // 'port' => '',
            // 'username' => '',
            // 'password' => '',
            // 'encryption' => '',
            'from' => 'admin@example.com'
        ],
    ],

    'cache' => [
        'enabled' => false,
        'response_ttl' => 3600,
        'pool' => [
            // 'adapter' => '',
            // 'path' => '',
            // 'host' => '',
            // 'port' => '',
        ],
    ],

    'auth' => [
        'secret_key' => '[[secret_key]]',
        'public_key' => '[[public_key]]',
        'ttl' => 20,
        'social_providers' => [
            // 'okta' => '',
            // 'github' => '',
            // 'facebook' => '',
            // 'google' => '',
            // 'twitter' => '',
        ],
    ],

    'hooks' => [
        'actions' => [],
        'filters' => [],
    ],

    'tableBlacklist' => [],

    'env' => 'production',

    'logger' => [
        'path' => '[[softpath]]/src/core/Directus/Util/Installation/../../../../../logs',
    ],
];

Directory Contents

Dirs: 5 × Files: 15

Name Size Perms Modified Actions
images DIR
- drwxr-xr-x 2024-03-21 11:30:19
Edit Download
php53 DIR
- drwxr-xr-x 2024-03-21 11:30:19
Edit Download
php56 DIR
- drwxr-xr-x 2024-03-21 11:30:20
Edit Download
php71 DIR
- drwxr-xr-x 2024-03-21 11:30:19
Edit Download
php81 DIR
- drwxr-xr-x 2024-03-21 11:30:19
Edit Download
90 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
5.24 KB lrw-r--r-- 2022-09-21 09:25:24
Edit Download
447 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
9.97 KB lrw-r--r-- 2022-09-21 09:25:24
Edit Download
139 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
3.96 KB lrw-r--r-- 2022-09-21 09:25:24
Edit Download
4.48 KB lrw-r--r-- 2022-09-21 08:18:40
Edit Download
924 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
6.28 KB lrw-r--r-- 2022-09-21 09:25:24
Edit Download
629 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
11.24 KB lrw-r--r-- 2022-09-21 09:25:24
Edit Download
1.20 KB lrw-r--r-- 2021-12-27 09:21:54
Edit Download
2.57 KB lrw-r--r-- 2021-12-23 11:54:36
Edit Download
554 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download
51 B lrw-r--r-- 2021-12-23 11:54:36
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).