From baa6f7fc7107a4e053d58375e117ef2b5edbf887 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 18 Oct 2010 02:10:29 +0000 Subject: [PATCH] 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. --- php.ini-development | 2 +- php.ini-production | 2 +- 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. -- 2.50.1