From c3c56d293eaeced6e4c54cfd3a244e541dc70b3a Mon Sep 17 00:00:00 2001 From: Danang Probo Sayekti Date: Fri, 10 Jul 2015 13:09:56 +0700 Subject: [PATCH] Prepare for new release --- README.md | 2 +- cache/installedVersion.json | 2 +- robots.txt | 1 - upload.php | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ecaba03..0158cbe 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ You do not need to use a VPS to run HTMLy, shared hosting or even free hosting s Features --------- - Admin Panel -- Markdown editor with live preview +- Markdown editor with live preview and image upload - Categorization with tags (multiple tagging support) - Static Pages (e.g. Contact Page, About Page) - Meta canonical, description, and rich snippets for SEO diff --git a/cache/installedVersion.json b/cache/installedVersion.json index 15d7350..846fb75 100644 --- a/cache/installedVersion.json +++ b/cache/installedVersion.json @@ -1,4 +1,4 @@ { "id": 782014, - "tag_name": "v2.5.2" + "tag_name": "v2.5.3" } diff --git a/robots.txt b/robots.txt index 6a4d5dd..ec09ff3 100644 --- a/robots.txt +++ b/robots.txt @@ -20,7 +20,6 @@ User-agent: * Crawl-delay: 10 # Directories Disallow: /config/ -Disallow: /content/ Disallow: /system/ Disallow: /themes/ Disallow: /vendor/ diff --git a/upload.php b/upload.php index 67c8ad1..ef32edc 100644 --- a/upload.php +++ b/upload.php @@ -31,7 +31,7 @@ if (login()) { if($check !== false) { if ($error === UPLOAD_ERR_OK) { - $extension = pathinfo($timestamp . '-' . $name, PATHINFO_EXTENSION); + $extension = pathinfo($name, PATHINFO_EXTENSION); if (!in_array($extension, $whitelist)) { $error = 'Invalid file type uploaded.'; } else {