Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

settings.local.php inclusion breaks production #9

Description

@alianov

if (file_exists(__DIR__ . '/settings.local.php')) {

I suggest to include settings.local.php within development.settings.php, here is why:

local.settings.php can have cache settings and error reporting settings that differ from production, it is being included last so those settings will override production.settings.php

//development.settings.php
// Include local settings for local development
if (getenv('AMAZEEIO_BASE_URL') == "http://tuttnauer.docker.amazee.io") {
include DIR . '/settings.local.php';
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions