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