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