Fix deprecation warninigs
This commit is contained in:
parent
eed574d21f
commit
e5a7735360
28 changed files with 121 additions and 145 deletions
83
README.md
83
README.md
|
@ -1,84 +1,51 @@
|
|||
[Bludit](https://www.bludit.com/)
|
||||
================================
|
||||
**Simple**, **Fast** and **Flexible** CMS.
|
||||
# [Bludit](https://www.bludit.com/)
|
||||
|
||||
Bludit is a web application to build your own **website** or **blog** in seconds, it's completely **free and open source**. Bludit uses files in JSON format to store the content, you don't need to install or configure a database. You only need a web server with PHP support.
|
||||
Simple, Fast and Flexible CMS.
|
||||
|
||||
Bludit is a **Flat-File** CMS.
|
||||
Bludit is a web application to build your own website or blog in seconds, it's completely free and open source. Bludit uses files in JSON format to store the content, you don't need to install or configure a database. You only need a web server with PHP support.
|
||||
|
||||
Bludit supports **Markdown** and **HTML code** for the content.
|
||||
Bludit is a Flat-File CMS.
|
||||
|
||||
Bludit supports Markdown and HTML code for the content.
|
||||
|
||||
- [Plugins](https://plugins.bludit.com)
|
||||
- [Themes](https://themes.bludit.com)
|
||||
- [Documentation](https://docs.bludit.com)
|
||||
- [Talk & Chat on Discord](https://discord.gg/wk5yxRkN)
|
||||
- Help and Support [Forum](https://forum.bludit.org)
|
||||
- News and announcement on [Twitter](https://twitter.com/bludit), [Facebook](https://www.facebook.com/bluditcms), and [Reddit](https://www.reddit.com/r/bludit/)
|
||||
- Talk & Chat on [Discord](https://discord.gg/CFaXEdZWds)
|
||||
- Help and Support on [Forum](https://forum.bludit.org)
|
||||
- Bugs reports on [Github Issues](https://github.com/bludit/bludit/issues)
|
||||
|
||||
Bludit v4 beta
|
||||
---------------
|
||||
Download the lastest Bludit v4.0 BETA from the [releases page](https://github.com/bludit/bludit/releases).
|
||||
|
||||
Use Bludit v4.0 BETA only for new websites or blogs, DO NOT update your Bludit v3.x with this beta version.
|
||||
|
||||
Follow Bludit
|
||||
---------------
|
||||
|
||||
- [Blog](https://blog.bludit.com)
|
||||
- [Twitter](https://twitter.com/bludit)
|
||||
- [Facebook](https://www.facebook.com/bluditcms)
|
||||
- [Youtube](https://www.youtube.com/c/Bluditcms)
|
||||
- [Discord](https://discord.gg/wk5yxRkN)
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
You just need a web server with PHP support.
|
||||
## Requirements
|
||||
|
||||
- Webserver with PHP support.
|
||||
- PHP v5.6 or higher version.
|
||||
- PHP [mbstring](http://php.net/manual/en/book.mbstring.php) module for full UTF-8 support.
|
||||
- PHP [gd](http://php.net/manual/en/book.image.php) module for image processing.
|
||||
- PHP [dom](http://php.net/manual/en/book.dom.php) module for DOM manipulation.
|
||||
- PHP [json](http://php.net/manual/en/book.json.php) module for JSON manipulation.
|
||||
- Supported web servers:
|
||||
* Bludit supports almost every web server
|
||||
* PHP Built-in web server (`php -S localhost:8000`)
|
||||
|
||||
Installation Guide
|
||||
------------------
|
||||
## Installation
|
||||
|
||||
1. Download the latest version from the official page. [Bludit.com](https://www.bludit.com)
|
||||
2. Extract the zip file into a directory like `bludit`.
|
||||
2. Extract the zip file into a directory such as `bludit`.
|
||||
3. Upload the directory `bludit` to your web server or hosting.
|
||||
4. Visit your domain https://example.com/bludit/
|
||||
5. Follow the Bludit Installer to configure the website.
|
||||
5. Follow the Bludit Installer to set up the website.
|
||||
|
||||
Docker Image
|
||||
------------
|
||||
Official Docker image on Docker Hub.
|
||||
- https://hub.docker.com/r/bludit/docker/
|
||||
## Quick installation for testing
|
||||
|
||||
Also we provide Kubernetes deployments yaml files.
|
||||
- https://github.com/bludit/docker/tree/master/kubernetes
|
||||
You can use PHP Built-in web server (`php -S localhost:8000`) or [Docker image](https://hub.docker.com/r/bludit/docker/)
|
||||
|
||||
Support Bludit!
|
||||
-------
|
||||
Bludit is open source and free, but if you really like the project and is useful for your you can contribute in [Patreon](https://www.patreon.com/bePatron?c=921115&rid=2458860), also for the supporters we provide Bludit PRO.
|
||||
## Support Bludit
|
||||
|
||||
[![Bludit PRO](https://img.shields.io/badge/Bludit-PRO-blue.svg)](https://pro.bludit.com/)
|
||||
Bludit is open source and free, but if you really like the project and is useful for your you can contribute on [Patreon](https://www.patreon.com/bePatron?c=921115&rid=2458860), also for the supporters we provide Bludit PRO. [![Bludit PRO](https://img.shields.io/badge/Bludit-PRO-blue.svg)](https://pro.bludit.com/)
|
||||
|
||||
### Platinum sponsors in Patreon!
|
||||
Donate one time for the coffee or beer:
|
||||
- [PayPal](https://www.paypal.me/bludit/10)
|
||||
- BTC (Network BTC): bc1qtets5pdj73uyysjpegfh2gar4pfywra4rglcph
|
||||
- ETH (Network ETH): 0x0d7D58D848aA5f175D75Ce4bC746bAC107f331b7
|
||||
|
||||
- <a href="https://www.patreon.com/clickwork" target="_blank">Clickwork</a>
|
||||
- <a href="https://www.patreon.com/user/creators?u=10331784" target="_blank">KreativMind</a>
|
||||
- <a href="https://www.patreon.com/user/creators?u=28428918" target="_blank">Curious Activity</a>
|
||||
- <a href="https://www.patreon.com/user/creators?u=27476624" target="_blank">Matěj Adámek</a>
|
||||
- <a href="https://www.patreon.com/pytesNET/creators" target="_blank">pytesNET</a>
|
||||
## License
|
||||
|
||||
### Golden sponsors in Patreon!
|
||||
|
||||
- <a href="https://www.patreon.com/user/creators?u=30876037" target="_blank">Thomas Kreth</a>
|
||||
- <a href="https://www.patreon.com/user/creators?u=14629621" target="_blank">Christian</a>
|
||||
|
||||
License
|
||||
-------
|
||||
Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license).
|
||||
Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license).
|
|
@ -1,23 +1,32 @@
|
|||
<?php defined('BLUDIT') or die('Bludit CMS.');
|
||||
|
||||
// Bludit version
|
||||
define('BLUDIT_VERSION', '3.14.0');
|
||||
define('BLUDIT_VERSION', '3.14.1');
|
||||
define('BLUDIT_CODENAME', 'Out Of Time');
|
||||
define('BLUDIT_RELEASE_DATE', '2022-08-05');
|
||||
define('BLUDIT_BUILD', '20220805');
|
||||
define('BLUDIT_RELEASE_DATE', '2022-08-07');
|
||||
define('BLUDIT_BUILD', '20220807');
|
||||
|
||||
// Debug mode
|
||||
// Change to FALSE, for prevent warning or errors on browser
|
||||
define('DEBUG_MODE', TRUE);
|
||||
// Change to TRUE for debugging
|
||||
define('DEBUG_MODE', FALSE);
|
||||
define('DEBUG_TYPE', 'INFO'); // INFO, TRACE
|
||||
error_reporting(0); // Turn off all error reporting
|
||||
|
||||
// This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user.
|
||||
ini_set("display_errors", 0);
|
||||
|
||||
// Even when display_errors is on, errors that occur during PHP's startup sequence are not displayed.
|
||||
// It's strongly recommended to keep display_startup_errors off, except for debugging.
|
||||
ini_set('display_startup_errors',0);
|
||||
|
||||
// If disabled, error message will be solely plain text instead HTML code.
|
||||
ini_set("html_errors", 0);
|
||||
|
||||
// Tells whether script error messages should be logged to the server's error log or error_log.
|
||||
ini_set('log_errors', 1);
|
||||
|
||||
if (DEBUG_MODE) {
|
||||
// Turn on all error reporting
|
||||
ini_set("display_errors", 1);
|
||||
ini_set('display_startup_errors',1);
|
||||
ini_set("html_errors", 1);
|
||||
ini_set('log_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
|
||||
} else {
|
||||
error_reporting(E_ERROR);
|
||||
}
|
||||
|
||||
// PHP paths
|
||||
|
|
|
@ -121,7 +121,7 @@ function buildPlugins()
|
|||
|
||||
// Sort the plugins by the position for the site sidebar
|
||||
uasort($plugins['siteSidebar'], function ($a, $b) {
|
||||
return $a->position() <=> $b->position();
|
||||
return $a->position()>$b->position();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -5,6 +5,6 @@
|
|||
"version": "2.12.0",
|
||||
"releaseDate": "2020-09-29",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com/plugin/remote-content",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://plugins.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://themes.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
|
@ -2,9 +2,9 @@
|
|||
"author": "Bludit",
|
||||
"email": "",
|
||||
"website": "https://themes.bludit.com",
|
||||
"version": "3.14.0",
|
||||
"releaseDate": "2022-08-05",
|
||||
"version": "3.14.1",
|
||||
"releaseDate": "2022-08-07",
|
||||
"license": "MIT",
|
||||
"compatible": "3.14.0",
|
||||
"compatible": "3.14.1",
|
||||
"notes": ""
|
||||
}
|
Loading…
Reference in a new issue