diff --git a/Dockerfile b/Dockerfile index 556d9ace09..d7be8224a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,6 +63,7 @@ ENV TZ=Asia/Tel_Aviv \ _APP_STATSD_PORT=8125 \ _APP_SMTP_HOST=smtp \ _APP_SMTP_PORT=25 \ + _APP_SETUP=self-hosted \ _APP_VERSION=$VERSION #ENV _APP_SMTP_SECURE '' #ENV _APP_SMTP_USERNAME '' diff --git a/app/controllers/shared/web.php b/app/controllers/shared/web.php index ffaa6a5b87..e23dc4f9c3 100644 --- a/app/controllers/shared/web.php +++ b/app/controllers/shared/web.php @@ -23,8 +23,7 @@ $layout ->setParam('protocol', $request->getServer('REQUEST_SCHEME', 'https')) ->setParam('domain', $domain) ->setParam('home', $request->getServer('_APP_HOME')) - ->setParam('api', $request->getServer('_APP_APPWRITE_HOST_CLIENT')) - ->setParam('project', $request->getServer('_APP_APPWRITE_ID')) + ->setParam('setup', $request->getServer('_APP_SETUP')) ->setParam('class', 'unknown') ->setParam('icon', '/images/favicon.png') ->setParam('roles', $roles) diff --git a/app/views/console/comps/header.phtml b/app/views/console/comps/header.phtml index f9cd0289a0..44d4f21e93 100644 --- a/app/views/console/comps/header.phtml +++ b/app/views/console/comps/header.phtml @@ -3,9 +3,9 @@