Re enable plugins from rc2
This commit is contained in:
parent
bcb656511e
commit
3d20f1cb36
@ -9,9 +9,13 @@ function updateBludit() {
|
||||
if( ($site->currentBuild() < BLUDIT_BUILD) || isset($_GET['update']) ) {
|
||||
Log::set('UPDATE SYSTEM - Starting.');
|
||||
|
||||
// From Bludit v2.0.x to v2.1.x
|
||||
if ($site->currentBuild() < '20171102') {
|
||||
// Nothing to do
|
||||
$plugins = array('pluginRSS', 'pluginSitemap', 'pluginTimeMachineX', 'pluginBackup');
|
||||
foreach ($plugins as $plugin) {
|
||||
if (pluginActivated($plugin)) {
|
||||
Log::set('UPDATE SYSTEM - Re-enable plugin: '.$plugin);
|
||||
deactivatePlugin($plugin);
|
||||
activatePlugin($plugin);
|
||||
}
|
||||
}
|
||||
|
||||
// Set the current build number
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php defined('BLUDIT') or die('Bludit CMS.');
|
||||
|
||||
// Bludit version
|
||||
define('BLUDIT_VERSION', '3.0.0-rc2');
|
||||
define('BLUDIT_VERSION', '3.0.0-rc3');
|
||||
define('BLUDIT_CODENAME', '');
|
||||
define('BLUDIT_RELEASE_DATE', '2018-09-02');
|
||||
define('BLUDIT_BUILD', '20180902');
|
||||
define('BLUDIT_RELEASE_DATE', '2018-09-10');
|
||||
define('BLUDIT_BUILD', '20180910');
|
||||
|
||||
// Debug mode
|
||||
// Change to FALSE, for prevent warning or errors on browser
|
||||
|
@ -58,7 +58,7 @@ if ($site->homepage() && $url->whereAmI()==='home') {
|
||||
|
||||
// Build specific page
|
||||
if ($url->whereAmI()==='page') {
|
||||
// Check if the URL has trailing slash
|
||||
// If the page ends with slash redirect to the correct url
|
||||
$pageKey = $url->slug();
|
||||
if (Text::endsWith($pageKey, '/')) {
|
||||
$pageKey = rtrim($pageKey, '/');
|
||||
|
Loading…
Reference in New Issue
Block a user