mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 07:52:13 +09:00
Also update sites table when default_url is updated
This commit is contained in:
parent
cbd75382fe
commit
225f02cac2
1 changed files with 4 additions and 0 deletions
|
|
@ -651,6 +651,10 @@ class adminAdminController extends admin
|
|||
Rhymix\Framework\Config::set('url.http_port', $vars->http_port ?: null);
|
||||
Rhymix\Framework\Config::set('url.https_port', $vars->https_port ?: null);
|
||||
Rhymix\Framework\Config::set('url.ssl', $use_ssl);
|
||||
getController('module')->updateSite((object)array(
|
||||
'site_srl' => 0,
|
||||
'domain' => preg_replace('@^https?://@', '', $default_url),
|
||||
));
|
||||
|
||||
// Other settings
|
||||
Rhymix\Framework\Config::set('use_rewrite', $vars->use_rewrite === 'Y');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue