Changeset 477 for trunk/lib/Upload.inc.php
- Timestamp:
- May 3, 2014 3:13:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Upload.inc.php
r468 r477 86 86 if (!is_dir($params['upload_path'])) { 87 87 $app->logMsg(sprintf('Attempting to auto-create upload directory: %s', $params['upload_path']), LOG_NOTICE, __FILE__, __LINE__); 88 if ( phpversion() > '5') {88 if (version_compare(PHP_VERSION, '5.0.0', '>=')) { 89 89 // Recursive. 90 90 mkdir($params['upload_path'], isset($params['dest_dir_perms']) ? $params['dest_dir_perms'] : $this->getParam('dest_dir_perms'), true);
Note: See TracChangeset
for help on using the changeset viewer.