Skip to content

Commit ec2787b

Browse files
authored
Merge branch 'master' into master
2 parents 6d5f06a + cb0819a commit ec2787b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: [geolim4]
4+
patreon: geolim4

lib/Phpfastcache/Drivers/Cookie/Driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function driverCheck(): bool
4949
*/
5050
protected function driverConnect(): bool
5151
{
52-
return !(!\array_key_exists('phpFastCache', $_COOKIE) && !@setcookie('phpFastCache', 1, 10));
52+
return !(!\array_key_exists('phpFastCache', $_COOKIE) && !@setcookie('phpFastCache', '1', 10));
5353
}
5454

5555
/**

0 commit comments

Comments
 (0)