openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 4b5d1a3af3f89ef6102aa8316f39575786d020c7
parent 2c7aa03d549f78bac48eaed277078df96a35efdc
Author: dankert <devnull@localhost>
Date:   Sun, 29 Jan 2006 19:59:31 +0100

UMASK aus Konfiguration lesen und setzen.

Diffstat:
do.php | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/do.php b/do.php @@ -20,7 +20,10 @@ // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // --------------------------------------------------------------------------- // $Log$ -// Revision 1.21 2006-01-29 17:33:56 dankert +// Revision 1.22 2006-01-29 18:59:31 dankert +// UMASK aus Konfiguration lesen und setzen. +// +// Revision 1.21 2006/01/29 17:33:56 dankert // Bugfix: Ermitteln Subaction-Namen // // Revision 1.20 2006/01/23 23:03:21 dankert @@ -175,6 +178,8 @@ if ( !is_array( $conf ) ) Session::setConfig( $conf ); } +umask( $conf['security']['umask'] ); + if ( !empty($conf['interface']['timeout']) ) set_time_limit( intval($conf['interface']['timeout']) );