| 1 |
<?php |
| 2 |
/** |
| 3 |
* WPIDE - File Manager & Code Editor |
| 4 |
* |
| 5 |
* @author XplodedThemes |
| 6 |
* @copyright 2018 XplodedThemes |
| 7 |
* @license GPL-2.0+ |
| 8 |
* |
| 9 |
* @wordpress-plugin |
| 10 |
* Plugin Name: WPIDE - File Manager & Code Editor |
| 11 |
* Plugin URI: https://wpide.com |
| 12 |
* Description: WordPress file manager with an advanced code editor / file editor featuring auto-completion of both WordPress and PHP functions with reference, syntax highlighting, line numbers, tabbed editing, automatic backup, image editor & much more! |
| 13 |
* Version: 3.1 |
| 14 |
* Author: XplodedThemes |
| 15 |
* Author URI: https://xplodedthemes.com |
| 16 |
* Text Domain: wpide |
| 17 |
* Domain Path: /languages/ |
| 18 |
* License: GPL-2.0+ |
| 19 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 20 |
* |
| 21 |
*/ |
| 22 |
namespace WPIDE; |
| 23 |
|
| 24 |
use WPIDE\App\App; |
| 25 |
use WPIDE\App\Classes\Freemius; |
| 26 |
|
| 27 |
defined( 'ABSPATH' ) || exit; |
| 28 |
|
| 29 |
define('WPIDE_FILE', __FILE__); |
| 30 |
define('WPIDE_DIR', __DIR__); |
| 31 |
|
| 32 |
require_once __DIR__ . '/vendor/autoload.php'; |
| 33 |
|
| 34 |
if(Freemius::loaded()) { |
| 35 |
|
| 36 |
Freemius::sdk()->set_basename( false, __FILE__ ); |
| 37 |
|
| 38 |
}else { |
| 39 |
|
| 40 |
Freemius::init(); |
| 41 |
App::instance(); |
| 42 |
} |
| 43 |
|
| 44 |
|
| 45 |
|