aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/controller/visitor/InstallController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/front/controller/visitor/InstallController.php')
-rw-r--r--application/front/controller/visitor/InstallController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/front/controller/visitor/InstallController.php b/application/front/controller/visitor/InstallController.php
index 94ebb4ae..5e3152c7 100644
--- a/application/front/controller/visitor/InstallController.php
+++ b/application/front/controller/visitor/InstallController.php
@@ -128,7 +128,7 @@ class InstallController extends ShaarliVisitorController
128 $this->container->conf->get('credentials.salt') 128 $this->container->conf->get('credentials.salt')
129 ) 129 )
130 ); 130 );
131 $this->container->conf->set('general.header_link', $this->container->basePath); 131 $this->container->conf->set('general.header_link', $this->container->basePath . '/');
132 132
133 try { 133 try {
134 // Everything is ok, let's create config file. 134 // Everything is ok, let's create config file.
@@ -149,7 +149,7 @@ class InstallController extends ShaarliVisitorController
149 [t('Shaarli is now configured. Please login and start shaaring your bookmarks!')] 149 [t('Shaarli is now configured. Please login and start shaaring your bookmarks!')]
150 ); 150 );
151 151
152 return $this->redirect($response, '/'); 152 return $this->redirect($response, '/login');
153 } 153 }
154 154
155 protected function checkPermissions(): bool 155 protected function checkPermissions(): bool