Edit File by line
/home/barbar84/www/wp-conte.../plugins/file-man...
File: constants.php
<?php
[0] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) exit;
[1] Fix | Delete
/**
[2] Fix | Delete
* File Manager Version
[3] Fix | Delete
*/
[4] Fix | Delete
if ( !defined('FMA_VERSION') ) {
[5] Fix | Delete
define('FMA_VERSION', '5.2.8');
[6] Fix | Delete
}
[7] Fix | Delete
/**
[8] Fix | Delete
* File Manager UI
[9] Fix | Delete
*/
[10] Fix | Delete
if ( !defined('FMA_UI') ) {
[11] Fix | Delete
define('FMA_UI', ['toolbar', 'tree', 'path', 'stat']);
[12] Fix | Delete
}
[13] Fix | Delete
/**
[14] Fix | Delete
* File Manager path
[15] Fix | Delete
*/
[16] Fix | Delete
if ( !defined('FMAFILEPATH') ) {
[17] Fix | Delete
define('FMAFILEPATH', plugin_dir_path( __FILE__ ));
[18] Fix | Delete
}
[19] Fix | Delete
/**
[20] Fix | Delete
* Code mirror themes path
[21] Fix | Delete
*/
[22] Fix | Delete
if(!defined('FMA_CM_THEMES_PATH')) {
[23] Fix | Delete
define('FMA_CM_THEMES_PATH', FMAFILEPATH.'application/library/codemirror/theme');
[24] Fix | Delete
}
[25] Fix | Delete
/**
[26] Fix | Delete
* File Manager Operations
[27] Fix | Delete
*/
[28] Fix | Delete
if ( !defined('FMA_OPERATIONS') ) {
[29] Fix | Delete
define('FMA_OPERATIONS', ['mkdir', 'mkfile', 'rename', 'duplicate', 'paste', 'ban', 'archive', 'extract', 'copy', 'cut', 'edit','rm','download', 'upload', 'search', 'info', 'help','empty','resize','preference']);
[30] Fix | Delete
}
[31] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function