Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change usage of "base_path" and "public_path" #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jul 30, 2021

  1. [!] Remove trailing slash from "base_path" and "public_path"

    From AppConfig to normalize filesystem paths.
    PHP returns paths without a trailing slash.
    mcaskill committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    9db5d33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f999a75 View commit details
    Browse the repository at this point in the history
  3. Add method to AppConfig to resolve template tags

    Added:
    - Method `AppConfig::resolveValue()` to replace "%app.*%" with a value on the `AppConfig`.
    - Tags to resolve "base_path", "public_path", "cache_path", and "logs_path".
    mcaskill committed Jul 30, 2021
    Configuration menu
    Copy the full SHA
    017ee47 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. Add resolvable config tags to filesystem and logger

    Changed:
    - Default connection paths in `FilesystemConfig` to use "%app.base_path%" and "%app.public_path%".
    - Default path in `LoggerConfig` to use "%app.logs_path%".
    - Routine to resolve any config parameters in the filesystem `LocalAdapter` path.
    - Routine to resolve any config parameters in the logger `StreamHandler` path.
    mcaskill committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    9971085 View commit details
    Browse the repository at this point in the history