initial
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) exit;
|
||||
/**
|
||||
* File Manager Version
|
||||
*/
|
||||
if ( !defined('FMA_VERSION') ) {
|
||||
define( 'FMA_VERSION', '5.4.12' );
|
||||
}
|
||||
/**
|
||||
* File Manager UI
|
||||
*/
|
||||
if ( !defined('FMA_UI') ) {
|
||||
define('FMA_UI', ['toolbar', 'tree', 'path', 'stat']);
|
||||
}
|
||||
/**
|
||||
* File Manager path
|
||||
*/
|
||||
if ( !defined('FMAFILEPATH') ) {
|
||||
define('FMAFILEPATH', plugin_dir_path( __FILE__ ));
|
||||
}
|
||||
/**
|
||||
* Code mirror themes path
|
||||
*/
|
||||
if(!defined('FMA_CM_THEMES_PATH')) {
|
||||
define('FMA_CM_THEMES_PATH', FMAFILEPATH.'application/library/codemirror/theme');
|
||||
}
|
||||
/**
|
||||
* File Manager Operations
|
||||
*/
|
||||
if ( !defined('FMA_OPERATIONS') ) {
|
||||
define('FMA_OPERATIONS', ['mkdir', 'mkfile', 'rename', 'duplicate', 'paste', 'ban', 'archive', 'extract', 'copy', 'cut', 'edit','rm','download', 'upload', 'search', 'info', 'help','empty','resize','preference']);
|
||||
}
|
||||
|
||||
if ( ! defined( 'FMA_PLUGIN_URL' ) ) {
|
||||
define( 'FMA_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
|
||||
}
|
||||
Reference in New Issue
Block a user