mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-04 00:26:50 +01:00
TineMCE refactoring
Unified all tinyMCE instances used across AAC, now they are initiated in one single file + added option to upload images within editor (CTRL-C CTRL-V) + there is new folder: user/, which will be used for all user generated data, like image uploads, guild images, etc.
This commit is contained in:
@@ -67,6 +67,7 @@ const PLUGINS = BASE . 'plugins/';
|
||||
const TEMPLATES = BASE . 'templates/';
|
||||
const TOOLS = BASE . 'tools/';
|
||||
const VENDOR = BASE . 'vendor/';
|
||||
const USER = BASE . 'user/';
|
||||
|
||||
// menu categories
|
||||
const MENU_CATEGORY_NEWS = 1;
|
||||
@@ -99,7 +100,7 @@ $size = count($tmp) - 1;
|
||||
for($i = 1; $i < $size; $i++)
|
||||
$basedir .= '/' . $tmp[$i];
|
||||
|
||||
$basedir = str_replace(array('/admin', '/install'), '', $basedir);
|
||||
$basedir = str_replace(['/admin', '/install', '/tools'], '', $basedir);
|
||||
define('BASE_DIR', $basedir);
|
||||
|
||||
if(!IS_CLI) {
|
||||
|
||||
Reference in New Issue
Block a user