domain base

This commit is contained in:
Diego Najar 2018-10-06 19:59:12 +02:00
parent 5ea51bd4da
commit 0657c55191
3 changed files with 6 additions and 7 deletions

View File

@ -10,7 +10,7 @@ function updateBludit() {
Log::set('UPDATE SYSTEM - Starting.');
// Updates only for version less than Bludit v3.0 rc-3
if ($site->currentBuild()<'20180910') {
if ($site->currentBuild()<='20180910') {
@mkdir(PATH_WORKSPACES, DIR_PERMISSIONS, true);
$plugins = array('simple-stats', 'pluginRSS', 'pluginSitemap', 'pluginTimeMachineX', 'pluginBackup');
foreach ($plugins as $plugin) {
@ -23,7 +23,7 @@ function updateBludit() {
}
// Updates only for version less than Bludit v3.1
if ($site->currentBuild()<'20180921') {
if ($site->currentBuild()<='20180921') {
@mkdir(PATH_UPLOADS_PAGES, DIR_PERMISSIONS, true);
$site->set(array('imageRelativeToAbsolute'=>true, 'imageRestrict'=>false));
}

View File

@ -1,10 +1,10 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '3.0.0');
define('BLUDIT_VERSION', '3.1');
define('BLUDIT_CODENAME', 'Hops');
define('BLUDIT_RELEASE_DATE', '2018-09-21');
define('BLUDIT_BUILD', '20180921');
define('BLUDIT_RELEASE_DATE', '2018-10-06');
define('BLUDIT_BUILD', '20181006');
// Debug mode
// Change to FALSE, for prevent warning or errors on browser

View File

@ -120,6 +120,7 @@ tinymce.init({
paste_as_text: true,
relative_urls: true,
remove_script_host: false,
document_base_url: DOMAIN_UPLOADS,
plugins: ["$plugins"],
toolbar1: "$toolbar1",
toolbar2: "$toolbar2",
@ -129,8 +130,6 @@ tinymce.init({
</script>
EOF;
// document_base_url: DOMAIN_UPLOADS,
return $script;
}