Fix missing change themeUrl (#1431)
* Fix missing change themeUrl * Use options themeUrl method
This commit is contained in:
@@ -46,6 +46,8 @@ class Edit extends Options implements ActionInterface
|
||||
$this->update(['value' => 'recent'], $this->db->sql()->where('name = ?', 'frontPage'));
|
||||
}
|
||||
|
||||
$this->options->themeUrl = rtrim($this->options->themeUrl('', $theme), '/');
|
||||
|
||||
$configFile = $this->options->themeFile($theme, 'functions.php');
|
||||
|
||||
if (file_exists($configFile)) {
|
||||
|
||||
Reference in New Issue
Block a user