openbsd-ports/www/timetrex/patches/patch-classes_adodb_adodb_inc_php
ajacoutot b83eb7a605 Import timetrex-2.2.13
TimeTrex is a complete web-based payroll and time management suite which
offers employee scheduling, attendance (timeclock, timesheet), job
costing, invoicing and payroll all in a tightly integrated package.

"looks good" to fkr@
2008-09-17 10:08:21 +00:00

13 lines
479 B
Plaintext

$OpenBSD: patch-classes_adodb_adodb_inc_php,v 1.1.1.1 2008/09/17 10:08:23 ajacoutot Exp $
--- classes/adodb/adodb.inc.php.orig Sat Sep 13 12:41:41 2008
+++ classes/adodb/adodb.inc.php Sat Sep 13 12:41:51 2008
@@ -1625,7 +1625,7 @@
if ($createdir && $notSafeMode && !file_exists($dir)) {
$oldu = umask(0);
- if (!mkdir($dir,0771))
+ if (!mkdir($dir,0771,true))
if ($this->debug) ADOConnection::outp( "Unable to mkdir $dir for $sql");
umask($oldu);
}