file-manager-advanced
Last commit date
application
3 weeks ago
languages
3 years ago
templates
10 months ago
vendor
4 months ago
constants.php
3 weeks ago
file_manager_advanced.php
3 weeks ago
index.php
10 months ago
readme.txt
3 weeks ago
constants.php
37 lines
| 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) exit; |
| 3 | /** |
| 4 | * File Manager Version |
| 5 | */ |
| 6 | if ( !defined('FMA_VERSION') ) { |
| 7 | define( 'FMA_VERSION', '5.4.12' ); |
| 8 | } |
| 9 | /** |
| 10 | * File Manager UI |
| 11 | */ |
| 12 | if ( !defined('FMA_UI') ) { |
| 13 | define('FMA_UI', ['toolbar', 'tree', 'path', 'stat']); |
| 14 | } |
| 15 | /** |
| 16 | * File Manager path |
| 17 | */ |
| 18 | if ( !defined('FMAFILEPATH') ) { |
| 19 | define('FMAFILEPATH', plugin_dir_path( __FILE__ )); |
| 20 | } |
| 21 | /** |
| 22 | * Code mirror themes path |
| 23 | */ |
| 24 | if(!defined('FMA_CM_THEMES_PATH')) { |
| 25 | define('FMA_CM_THEMES_PATH', FMAFILEPATH.'application/library/codemirror/theme'); |
| 26 | } |
| 27 | /** |
| 28 | * File Manager Operations |
| 29 | */ |
| 30 | if ( !defined('FMA_OPERATIONS') ) { |
| 31 | define('FMA_OPERATIONS', ['mkdir', 'mkfile', 'rename', 'duplicate', 'paste', 'ban', 'archive', 'extract', 'copy', 'cut', 'edit','rm','download', 'upload', 'search', 'info', 'help','empty','resize','preference']); |
| 32 | } |
| 33 | |
| 34 | if ( ! defined( 'FMA_PLUGIN_URL' ) ) { |
| 35 | define( 'FMA_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); |
| 36 | } |
| 37 |