���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/thietkewebvumi.com/tinymce_new/plugins/filemanager/ |
<?php if($_SESSION["verify"] != "FileManager4TinyMCE") die('forbidden'); $root = rtrim($_SERVER['DOCUMENT_ROOT'],'/'); // don't touch this configuration $root = $root.'/';//if localhost type $root = $root.'/folder name/' ; if domain type $root.'/' //********************** //Path configuration //********************** // In this configuration the folder tree is // root // |- tinymce // | |- source <- upload folder // | |- js // | | |- tinymce // | | | |- plugins // | | | |- |- filemanager // | | | |- |- |- thumbs <- folder of thumbs [must have the write permission] $base_url = 'https://'.$_SERVER['SERVER_NAME']."/"; //domain name //url base of site if you want only relative url leave empty $upload_dir = 'upload/editor_new/'; // path from base_url to upload base dir $current_path = '../../../upload/editor_new/'; // relative path from filemanager folder to upload files folder $MaxSizeUpload = 100; //Mb //********************** //Image config //********************** //set max width pixel or the max height pixel for all images //If you set dimension limit, automatically the images that exceed this limit are convert to limit, instead //if the images are lower the dimension is maintained //if you don't have limit set both to 0 $image_max_width=0; $image_max_height=0; //Automatic resizing // //If you set true $image_resizing the script convert all images uploaded in image_width x image_height resolution //If you set width or height to 0 the script calcolate automatically the other size $image_resizing=false; $image_width=600; $image_height=0; //****************** //Permits config //****************** $delete_file=true; $create_folder=true; $delete_folder=true; $upload_files=true; //********************** //Allowed extensions //********************** $ext_img = array('jpg','JPG', 'jpeg', 'png','PNG', 'gif', 'bmp', 'tiff'); //Images $ext_file = array('doc', 'docx', 'pdf', 'xls', 'xlsx', 'txt', 'csv','html','psd','sql','log','fla','xml','ade','adp','ppt','pptx'); //Files $ext_video = array('mov', 'mpeg', 'mp4', 'avi', 'mpg','wma'); //Videos $ext_music = array('mp3', 'm4a', 'ac3', 'aiff', 'mid'); //Music $ext_misc = array('zip', 'rar','gzip'); //Archives $ext=array_merge($ext_img, $ext_file, $ext_misc, $ext_video,$ext_music); //allowed extensions ?>