domain base
This commit is contained in:
parent
5ea51bd4da
commit
0657c55191
|
@ -10,7 +10,7 @@ function updateBludit() {
|
||||||
Log::set('UPDATE SYSTEM - Starting.');
|
Log::set('UPDATE SYSTEM - Starting.');
|
||||||
|
|
||||||
// Updates only for version less than Bludit v3.0 rc-3
|
// 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);
|
@mkdir(PATH_WORKSPACES, DIR_PERMISSIONS, true);
|
||||||
$plugins = array('simple-stats', 'pluginRSS', 'pluginSitemap', 'pluginTimeMachineX', 'pluginBackup');
|
$plugins = array('simple-stats', 'pluginRSS', 'pluginSitemap', 'pluginTimeMachineX', 'pluginBackup');
|
||||||
foreach ($plugins as $plugin) {
|
foreach ($plugins as $plugin) {
|
||||||
|
@ -23,7 +23,7 @@ function updateBludit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Updates only for version less than Bludit v3.1
|
// Updates only for version less than Bludit v3.1
|
||||||
if ($site->currentBuild()<'20180921') {
|
if ($site->currentBuild()<='20180921') {
|
||||||
@mkdir(PATH_UPLOADS_PAGES, DIR_PERMISSIONS, true);
|
@mkdir(PATH_UPLOADS_PAGES, DIR_PERMISSIONS, true);
|
||||||
$site->set(array('imageRelativeToAbsolute'=>true, 'imageRestrict'=>false));
|
$site->set(array('imageRelativeToAbsolute'=>true, 'imageRestrict'=>false));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
<?php defined('BLUDIT') or die('Bludit CMS.');
|
<?php defined('BLUDIT') or die('Bludit CMS.');
|
||||||
|
|
||||||
// Bludit version
|
// Bludit version
|
||||||
define('BLUDIT_VERSION', '3.0.0');
|
define('BLUDIT_VERSION', '3.1');
|
||||||
define('BLUDIT_CODENAME', 'Hops');
|
define('BLUDIT_CODENAME', 'Hops');
|
||||||
define('BLUDIT_RELEASE_DATE', '2018-09-21');
|
define('BLUDIT_RELEASE_DATE', '2018-10-06');
|
||||||
define('BLUDIT_BUILD', '20180921');
|
define('BLUDIT_BUILD', '20181006');
|
||||||
|
|
||||||
// Debug mode
|
// Debug mode
|
||||||
// Change to FALSE, for prevent warning or errors on browser
|
// Change to FALSE, for prevent warning or errors on browser
|
||||||
|
|
|
@ -120,6 +120,7 @@ tinymce.init({
|
||||||
paste_as_text: true,
|
paste_as_text: true,
|
||||||
relative_urls: true,
|
relative_urls: true,
|
||||||
remove_script_host: false,
|
remove_script_host: false,
|
||||||
|
document_base_url: DOMAIN_UPLOADS,
|
||||||
plugins: ["$plugins"],
|
plugins: ["$plugins"],
|
||||||
toolbar1: "$toolbar1",
|
toolbar1: "$toolbar1",
|
||||||
toolbar2: "$toolbar2",
|
toolbar2: "$toolbar2",
|
||||||
|
@ -129,8 +130,6 @@ tinymce.init({
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
EOF;
|
EOF;
|
||||||
// document_base_url: DOMAIN_UPLOADS,
|
|
||||||
|
|
||||||
return $script;
|
return $script;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue