Merge branch 'master' of github.com:icecoder/icecoder

This commit is contained in:
mattpass
2021-06-25 21:23:18 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ if (false === empty($reqsFailures)) {
<div class="screenVCenter">
<div class="screenCenter">
<img src="../assets/images/icecoder.png" alt="ICEcoder">
<div class="version" style="margin-bottom: 22px"> echo $settingsClass->versionNo;?></div>
<div class="version" style="margin-bottom: 22px"><?php echo $settingsClass->versionNo;?></div>
<span style="display: inline-block; color: #fff">
<b style="padding: 5px; background: #b00; color: #fff">Requirements problem!</b><br><br><br><br>

View File

@@ -23,7 +23,7 @@ if(false === isset($_SESSION)) {
ini_set('session.hash_bits_per_character', '6'); // Specify hash scheme of 0-9,a-v,A-Z,-,,
// ini_set('session.use_strict_mode', '1'); // Reject any session ID that was user provided and not generated by the session (since PHP 5.5.2)
ini_set('session.httponly', '1'); // Only allow http protocol (ie, not JS) access to the cookie (since PHP 5.2.0)
ini_set('session.save_path', dirname(__FILE__) . '/../tmp'); // Localise the session files to /tmp
// ini_set('session.save_path', dirname(__FILE__) . '/../tmp'); // Localise the session files to /tmp
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') {
ini_set('session.cookie_secure', '1'); // Only allows access to session ID when protocol is HTTPS, switched on under 'if https' condition