aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 01931198..06e5b784 100644
--- a/index.php
+++ b/index.php
@@ -2067,7 +2067,9 @@ function install()
2067 { // Step 2: Check if data in session is correct. 2067 { // Step 2: Check if data in session is correct.
2068 echo '<pre>Sessions do not seem to work correctly on your server.<br>'; 2068 echo '<pre>Sessions do not seem to work correctly on your server.<br>';
2069 echo 'Make sure the variable session.save_path is set correctly in your php config, and that you have write access to it.<br>'; 2069 echo 'Make sure the variable session.save_path is set correctly in your php config, and that you have write access to it.<br>';
2070 echo 'It currently points to '.session_save_path().'<br><br><a href="?">Click to try again.</a></pre>'; 2070 echo 'It currently points to '.session_save_path().'<br>';
2071 echo 'Check that the hostname used to access Shaarli contains a dot. On some browsers, accessing your server via a hostname like \'localhost\' or any custom hostname without a dot causes cookie storage to fail. We recommend accessing your server via it\'s IP address or Fully Qualified Domain Name.<br>';
2072 echo '<br><a href="?">Click to try again.</a></pre>';
2071 die; 2073 die;
2072 } 2074 }
2073 if (!isset($_SESSION['session_tested'])) 2075 if (!isset($_SESSION['session_tested']))