File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1474,7 +1474,7 @@ session.gc_maxlifetime = 1440
1474
1474
; collection through a shell script, cron entry, or some other method.
1475
1475
; For example, the following script would is the equivalent of
1476
1476
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1477
- ; find /path/to/sessions -cmin +24 | xargs rm
1477
+ ; find /path/to/sessions -cmin +24 -type f | xargs rm
1478
1478
1479
1479
; PHP 4.2 and less have an undocumented feature/bug that allows you to
1480
1480
; to initialize a session variable in the global scope.
Original file line number Diff line number Diff line change @@ -1474,7 +1474,7 @@ session.gc_maxlifetime = 1440
1474
1474
; collection through a shell script, cron entry, or some other method.
1475
1475
; For example, the following script would is the equivalent of
1476
1476
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1477
- ; find /path/to/sessions -cmin +24 | xargs rm
1477
+ ; find /path/to/sessions -cmin +24 -type f | xargs rm
1478
1478
1479
1479
; PHP 4.2 and less have an undocumented feature/bug that allows you to
1480
1480
; to initialize a session variable in the global scope.
You can’t perform that action at this time.
0 commit comments