summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harvey <aharvey@php.net>2010-10-18 02:10:29 +0000
committerAdam Harvey <aharvey@php.net>2010-10-18 02:10:29 +0000
commitbaa6f7fc7107a4e053d58375e117ef2b5edbf887 (patch)
treea359d48069fd2a31409c4f47869b3866a8a6b6e1
parentc88dbc2262dd0bd189c46b50bf112c9475be85d5 (diff)
downloadphp-git-baa6f7fc7107a4e053d58375e117ef2b5edbf887.tar.gz
Fix bug #53089 (php.ini should use portable example of find) by using POSIX
compliant syntax in the suggested find command for cleaning up session files in the shipped php.ini files.
-rw-r--r--php.ini-development2
-rw-r--r--php.ini-production2
2 files changed, 2 insertions, 2 deletions
diff --git a/php.ini-development b/php.ini-development
index 3e19eeff7a..b373929621 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -1453,7 +1453,7 @@ session.gc_maxlifetime = 1440
; collection through a shell script, cron entry, or some other method.
; For example, the following script would is the equivalent of
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
-; cd /path/to/sessions; find -cmin +24 | xargs rm
+; find /path/to/sessions -cmin +24 | xargs rm
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope.
diff --git a/php.ini-production b/php.ini-production
index 3a38742998..0dee0e3492 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -1461,7 +1461,7 @@ session.gc_maxlifetime = 1440
; collection through a shell script, cron entry, or some other method.
; For example, the following script would is the equivalent of
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
-; cd /path/to/sessions; find -cmin +24 | xargs rm
+; find /path/to/sessions -cmin +24 | xargs rm
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope.