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

Add Languages::resetFallbackPageExtensions #1276

Merged
merged 1 commit into from
Feb 9, 2017

Commits on Jan 27, 2017

  1. Add Languages::resetFallbackPageExtensions

    Resets the page_extensions value.
    Useful to re-initialize the pages and change site language at runtime,
    example:
    ```
    $this->grav['language']->setActive('it');
    $this->grav['language']->resetFallbackPageExtensions();
    $this->grav['pages']->init();
    ```
    Flavio Copes authored and Flavio Copes committed Jan 27, 2017
    Configuration menu
    Copy the full SHA
    bc2edd3 View commit details
    Browse the repository at this point in the history