mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Replaced get_domain with get_url
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
$c = $app->getContainer();
|
||||
$cfg = $c->get("config");
|
||||
$writer = $c->get("injectableFactory")->create("\Espo\Core\Utils\Config\ConfigWriter");
|
||||
$new = "{{ domains | get_url(application_id, WEB_PROTOCOL) }}";
|
||||
$new = "{{ espocrm_url }}";
|
||||
if ($cfg->get("siteUrl") !== $new) {
|
||||
$writer->set("siteUrl", $new);
|
||||
$writer->save();
|
||||
|
Reference in New Issue
Block a user