diff options
author | Emilien Klein <emilien@klein.st> | 2014-11-08 17:34:01 +0100 |
---|---|---|
committer | Emilien Klein <emilien@klein.st> | 2014-11-08 17:34:01 +0100 |
commit | 903eb0f99c582b0868c3000ecd21f559714ba1da (patch) | |
tree | 2468103bd1c87199f1bccf2d5c7477905d1aa2c8 | |
parent | 19920acc179f95a88b5c26c2e6aeebcebdda19c6 (diff) | |
parent | 01ec179148463eb239a787ce12ae9aff1caf0d91 (diff) | |
download | Shaarli-903eb0f99c582b0868c3000ecd21f559714ba1da.tar.gz Shaarli-903eb0f99c582b0868c3000ecd21f559714ba1da.tar.zst Shaarli-903eb0f99c582b0868c3000ecd21f559714ba1da.zip |
Merge pull request #39 from nodiscc/master
add warning about hostname/cookie storage problems during install
-rw-r--r-- | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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'])) |