Last active
January 17, 2017 14:08
-
-
Save enzolutions/aa966bd90ed1fb508715e7e436a0970b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ** MySQL settings ** // | |
define( 'DB_NAME', $dbName); | |
define( 'DB_USER', $dbUser); | |
define( 'DB_PASSWORD', $dbPass ); | |
define( 'DB_HOST', $dbHost ); | |
define( 'DB_CHARSET', 'utf8' ); | |
define( 'DB_COLLATE', '' ); | |
$GLOBALS['table_prefix'] = $dbPrefix; | |
define('WP_INSTALLING', true); | |
define('ABSPATH', $this->appRoot . '/' ); | |
define('WP_CONTENT_DIR', ABSPATH . 'wp-content' ); | |
define('WPINC', 'wp-includes' ); | |
define('WP_DEBUG', false); | |
define('WP_LANG_DIR', ABSPATH . WPINC . '/languages' ); | |
$this->site->loadLegacyFile('wp-includes/functions.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-error.php' ); | |
$this->site->loadLegacyFile('wp-includes/load.php' ); | |
$this->site->loadLegacyFile('wp-includes/default-constants.php' ); | |
$this->site->loadLegacyFile('wp-includes/plugin.php' ); | |
$this->site->loadLegacyFile('wp-includes/option.php' ); | |
$this->site->loadLegacyFile('wp-includes/pomo/translations.php'); | |
$this->site->loadLegacyFile('wp-includes/l10n.php'); | |
$this->site->loadLegacyFile('wp-includes/theme.php' ); | |
wp_initial_constants(); | |
require_wp_db(); | |
wp_set_wpdb_vars(); | |
wp_templating_constants(); | |
$this->site->loadLegacyFile('wp-includes/class-wp-walker.php'); | |
$this->site->loadLegacyFile('wp-includes/kses.php' ); | |
$this->site->loadLegacyFile('wp-includes/formatting.php' ); | |
$this->site->loadLegacyFile('wp-includes/capabilities.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-role.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-roles.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-user.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-theme.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-phpass.php' ); | |
$this->site->loadLegacyFile('wp-includes/post.php' ); | |
$this->site->loadLegacyFile('wp-includes/meta.php' ); | |
$this->site->loadLegacyFile('wp-includes/general-template.php' ); | |
$this->site->loadLegacyFile('wp-includes/link-template.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-post.php' ); | |
$this->site->loadLegacyFile('wp-includes/rewrite.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-rewrite.php' ); | |
$this->site->loadLegacyFile('wp-includes/http.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-http.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-http-response.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-http-requests-response.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-http-proxy.php' ); | |
$this->site->loadLegacyFile('wp-includes/class-wp-http-requests-hooks.php' ); | |
$GLOBALS['wp_rewrite'] = new \WP_Rewrite(); | |
$this->site->loadLegacyFile('wp-includes/pluggable.php' ); | |
$this->site->loadLegacyFile('wp-includes/user.php'); | |
$this->site->loadLegacyFile('wp-admin/includes/upgrade.php' ); | |
wp_start_object_cache(); | |
$this->site->loadLegacyFile('wp-includes/cache.php' ); | |
$result = wp_install( $siteName, $accountName, $accountMail, $public, '', $accountPass ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment