Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix day directory creation to use proper timestamp value.

  • Loading branch information...
commit 7957500d93c981fd11055e9da19053f4c3fb4f61 1 parent 8e5dc0b
@davemasse authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.php
View
2  index.php
@@ -90,7 +90,7 @@ function xmlrpc_callback($args) {
");
// Create directory structure with intermediate directories, if necessary
- $output_dir = $upload_path . '/' . self::upload_dir . '/' . date('Y/m/d/', current_time('timestamp')) . $timestamp . '/';
+ $output_dir = $upload_path . '/' . self::upload_dir . '/' . date('Y/m/d/', $timestamp) . $timestamp . '/';
mkdir($output_dir, 0777, true);
// Create image object from uploaded image
Please sign in to comment.
Something went wrong with that request. Please try again.