1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
<?php /** * * Plugin Name: ImportBuddy * Plugin URI: http://pluginbuddy.com/ * Description: BackupBuddy Importer * Version: 1.0.2 * Author: Dustin Bolton * Author URI: http://dustinbolton.com/ * * Installation: * * 1. Download and unzip the latest release zip file. * 2. If you use the WordPress plugin uploader to install this plugin skip to step 4. * 3. Upload the entire plugin directory to your `/wp-content/plugins/` directory. * 4. Activate the plugin through the 'Plugins' menu in WordPress Administration. * * Usage: * * 1. Navigate to the new plugin menu in the Wordpress Administration Panel. * * NOTE: DO NOT EDIT THIS OR ANY OTHER PLUGIN FILES. NO USER-CONFIGURABLE OPTIONS WITHIN. */
error_reporting( E_ERROR | E_WARNING | E_PARSE | E_NOTICE ); // HIGH define( 'PB_STANDALONE', true ); define( 'PB_IMPORTBUDDY', true );
$pluginbuddy_settings = array( 'slug' => 'backupbuddy', 'php_minimum' => '5.2', 'series' => '', 'remote_api' => '0', // Set to 1 by state for deployments. 'default_state_overrides' => array(), // Default state to override the main defaults. Good for automating imports. Applied over defaults during construction of restore class. 'default_options' => array( 'bb_version' => PB_BB_VERSION, // BB version to be filled in on download. 'log_level' => '3', // Level of error logging. ImportBuddy ALWAYS logs at level 3 (everything). 'backup_directory' => '', ), 'modules' => array( 'updater' => false, // Load PluginBuddy automatic upgrades. 'filesystem' => true, // File system helper methods. 'format' => true, // Text / data formatting helper methods. ) );
// $settings is expected to be populated prior to including PluginBuddy framework. Do not edit below. require( dirname( __FILE__ ) . '/pluginbuddy/_pluginbuddy.php' );
|