Skip to content

Commit

Permalink
Fixes missing app/lang directory check
Browse files Browse the repository at this point in the history
  • Loading branch information
octoberapp committed Jul 12, 2023
1 parent 376230e commit e4bcab2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ protected function bindPathsInContainer()
{
parent::bindPathsInContainer();

// Additional lang path check
if (is_dir($directory = $this->path('lang'))) {
$this->useLangPath($directory);
}

// October CMS paths
$this->instance('path.plugins', $this->pluginsPath());
$this->instance('path.themes', $this->themesPath());
Expand Down

0 comments on commit e4bcab2

Please sign in to comment.