Skip to content

Commit 8c7a9a4

Browse files
committed
Fix deprecated warning
1 parent 165e228 commit 8c7a9a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test-phpunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
tests:
77
runs-on: ubuntu-latest
8-
if: "!contains(github.event.head_commit.message, '[ci skip]')"
8+
if: '!contains(github.event.head_commit.message, "[ci skip]")'
99
env:
1010
PHP_INI_VALUES: assert.exception=1, zend.assertions=1
1111

system/libraries/Session/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,10 @@ protected function _configure_sid_length()
395395
// We force the PHP defaults.
396396
if (PHP_VERSION_ID < 90000) {
397397
if ($bits_per_character !== 4) {
398-
ini_set('session.sid_bits_per_character', '4');
398+
@ini_set('session.sid_bits_per_character', '4');
399399
}
400400
if ($sid_length !== 32) {
401-
ini_set('session.sid_length', '32');
401+
@ini_set('session.sid_length', '32');
402402
}
403403
}
404404

0 commit comments

Comments
 (0)