mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 11:16:00 +05:30
Prepare for new release
This commit is contained in:
parent
7cd94d0acc
commit
c3c56d293e
4 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
cache/installedVersion.json
vendored
2
cache/installedVersion.json
vendored
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
"id": 782014,
|
||||
"tag_name": "v2.5.2"
|
||||
"tag_name": "v2.5.3"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ User-agent: *
|
|||
Crawl-delay: 10
|
||||
# Directories
|
||||
Disallow: /config/
|
||||
Disallow: /content/
|
||||
Disallow: /system/
|
||||
Disallow: /themes/
|
||||
Disallow: /vendor/
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue