mirror of
https://github.com/e107inc/e107.git
synced 2025-08-19 21:02:09 +02:00
Initial commit of the highly experimental TinyMce4 CDN plugin.
This commit is contained in:
13
e107_plugins/tinymce4/plugins/e107/mediamanager.php
Normal file
13
e107_plugins/tinymce4/plugins/e107/mediamanager.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
require_once("../../../../class2.php");
|
||||
|
||||
$types = array('img','video','glyph');
|
||||
|
||||
$bbcode = in_array(e_QUERY,$types) ? e_QUERY : 'img';
|
||||
|
||||
header("Location: ".e_ADMIN_ABS.'image.php?mode=main&action=dialog&for='.$_SESSION['media_category'].'&tagid=&iframe=1&bbcode='.$bbcode, true);
|
||||
exit;
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user