Skip to content

Always include functions-( upgrade | install ).php #3326

@ozh

Description

@ozh

In 2008 when YOURLS consisted of a dozen files I thought it would be smart and frugal not to always load everything, in particular functions-install.php and functions-upgrade.php that are rarely used.

This is over optimization. Simplify the start logic and just always require() them (includes/Config/*, admin/install.php, admin/upgrade.php, tests/bootstrap.php, tests/tests/install/install.php)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions