|
From: <var...@us...> - 2012-12-11 15:21:50
|
Revision: 8645
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8645&view=rev
Author: vargenau
Date: 2012-12-11 15:21:43 +0000 (Tue, 11 Dec 2012)
Log Message:
-----------
Recursive mkdir
Modified Paths:
--------------
trunk/lib/config.php
Modified: trunk/lib/config.php
===================================================================
--- trunk/lib/config.php 2012-12-11 14:48:56 UTC (rev 8644)
+++ trunk/lib/config.php 2012-12-11 15:21:43 UTC (rev 8645)
@@ -386,7 +386,7 @@
if (defined('UPLOAD_FILE_PATH')) {
// Force creation of the returned directory if it does not exist.
if (!file_exists(UPLOAD_FILE_PATH)) {
- mkdir(UPLOAD_FILE_PATH, 0775);
+ mkdir(UPLOAD_FILE_PATH, 0775, true);
}
if (string_ends_with(UPLOAD_FILE_PATH, "/")
or string_ends_with(UPLOAD_FILE_PATH, "\\")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|