diff --git a/app/Controllers/BaseController.php b/app/Controllers/BaseController.php index 5419964b98..7ad8bd97be 100644 --- a/app/Controllers/BaseController.php +++ b/app/Controllers/BaseController.php @@ -68,7 +68,12 @@ protected function initialize() $this->theme = Config::get('app.theme', 'Themes/Bootstrap'); } - if (! Str::contains($theme = $this->theme, '/')) { + if ($this->theme === false) { + return; + } + + // A Theme is configured for this Controller. + else if (! Str::contains($theme = $this->theme, '/')) { $theme = 'Themes/' .$theme; } diff --git a/app/Platform/Bootstrap.php b/app/Platform/Bootstrap.php index fc039f1680..caf852589b 100644 --- a/app/Platform/Bootstrap.php +++ b/app/Platform/Bootstrap.php @@ -14,7 +14,7 @@ // Define The Application Version //-------------------------------------------------------------------------- -define('VERSION', '4.0.39'); +define('VERSION', '4.0.40'); //-------------------------------------------------------------------------- // Set PHP Error Reporting Options