mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 19:26:08 +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
|
Features
|
||||||
---------
|
---------
|
||||||
- Admin Panel
|
- Admin Panel
|
||||||
- Markdown editor with live preview
|
- Markdown editor with live preview and image upload
|
||||||
- Categorization with tags (multiple tagging support)
|
- Categorization with tags (multiple tagging support)
|
||||||
- Static Pages (e.g. Contact Page, About Page)
|
- Static Pages (e.g. Contact Page, About Page)
|
||||||
- Meta canonical, description, and rich snippets for SEO
|
- Meta canonical, description, and rich snippets for SEO
|
||||||
|
|
|
||||||
2
cache/installedVersion.json
vendored
2
cache/installedVersion.json
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"id": 782014,
|
"id": 782014,
|
||||||
"tag_name": "v2.5.2"
|
"tag_name": "v2.5.3"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,6 @@ User-agent: *
|
||||||
Crawl-delay: 10
|
Crawl-delay: 10
|
||||||
# Directories
|
# Directories
|
||||||
Disallow: /config/
|
Disallow: /config/
|
||||||
Disallow: /content/
|
|
||||||
Disallow: /system/
|
Disallow: /system/
|
||||||
Disallow: /themes/
|
Disallow: /themes/
|
||||||
Disallow: /vendor/
|
Disallow: /vendor/
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ if (login()) {
|
||||||
|
|
||||||
if($check !== false) {
|
if($check !== false) {
|
||||||
if ($error === UPLOAD_ERR_OK) {
|
if ($error === UPLOAD_ERR_OK) {
|
||||||
$extension = pathinfo($timestamp . '-' . $name, PATHINFO_EXTENSION);
|
$extension = pathinfo($name, PATHINFO_EXTENSION);
|
||||||
if (!in_array($extension, $whitelist)) {
|
if (!in_array($extension, $whitelist)) {
|
||||||
$error = 'Invalid file type uploaded.';
|
$error = 'Invalid file type uploaded.';
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue