var/www/html/servotec-doerpen/wp-admin | uid:33
load-scripts.php [X]
<?php

/*
 * The error_reporting() function can be disabled in php.ini. On systems where that is the case,
 * it's best to add a dummy function to the wp-config.php file, but as this call to the function
 * is run prior to wp-config.php loading, it is wrapped in a function_exists() check.
 */
if ( function_exists( 'error_reporting' ) ) {
	/*
	 * Disable error reporting.
	 *
	 * Set this to error_reporting( -1 ) for debugging.
	 */
	error_reporting( 0 );
}

// Set ABSPATH for execution.
if ( ! defined( 'ABSPATH' ) ) {
	define( 'ABSPATH', dirname( __DIR__ ) . '/' );
}

define( 'WPINC', 'wp-includes' );

$protocol = $_SERVER['SERVER_PROTOCOL'];
if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0', 'HTTP/3' ), true ) ) {
	$protocol = 'HTTP/1.0';
}

$load = $_GET['load'];
if ( is_array( $load ) ) {
	ksort( $load );
	$load = implode( '', $load );
}

$load = preg_replace( '/[^a-z0-9,_-]+/i', '', $load );
$load = array_unique( explode( ',', $load ) );

if ( empty( $load ) ) {
	header( "$protocol 400 Bad Request" );
	exit;
}

require ABSPATH . 'wp-admin/includes/noop.php';
require ABSPATH . WPINC . '/script-loader.php';
require ABSPATH . WPINC . '/version.php';

$expires_offset = 31536000; // 1 year.
$out            = '';

$wp_scripts = new WP_Scripts();
wp_default_scripts( $wp_scripts );
wp_default_packages_vendor( $wp_scripts );
wp_default_packages_scripts( $wp_scripts );

$etag = $wp_scripts->get_etag( $load );

if ( isset( $_SERVER['HTTP_IF_NONE_MATCH'] ) && stripslashes( $_SERVER['HTTP_IF_NONE_MATCH'] ) === $etag ) {
	header( "$protocol 304 Not Modified" );
	exit;
}

foreach ( $load as $handle ) {
	if ( ! array_key_exists( $handle, $wp_scripts->registered ) ) {
		continue;
	}

	$path = ABSPATH . $wp_scripts->registered[ $handle ]->src;
	$out .= get_file( $path ) . "\n";
}

header( "Etag: $etag" );
header( 'Content-Type: application/javascript; charset=UTF-8' );
header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + $expires_offset ) . ' GMT' );
header( "Cache-Control: public, max-age=$expires_offset" );

echo $out;
exit;
css/-O R D
images/-O R D
includes/-O R D
js/-O R D
maint/-O R D
network/-O R D
user/-O R D
about.php17.4KV E R D
admin-ajax.php5KV E R D
admin-footer.php2.7KV E R D
admin-header.php9.1KV E R D
admin-post.php2KV E R D
admin.php12.6KV E R D
async-upload.php5.5KV E R D
authorize-application.php10.1KV E R D
comment.php11.4KV E R D
contribute.php5.9KV E R D
credits.php4.4KV E R D
custom-background.php489V E R D
edit-comments.php14.1KV E R D
edit-form-blocks.php14.7KV E R D
edit-form-comment.php8.3KV E R D
edit-link-form.php6.2KV E R D
edit-tag-form.php10.4KV E R D
edit-tags.php22KV E R D
edit.php19.5KV E R D
erase-personal-data.php7.3KV E R D
export-personal-data.php7.8KV E R D
font-library.php1KV E R D
freedoms.php4.8KV E R D
import.php7.6KV E R D
index.php7.7KV E R D
install-helper.php6.8KV E R D
install.php17.9KV E R D
link-add.php934V E R D
link-manager.php4.3KV E R D
link-parse-opml.php2.6KV E R D
link.php2.9KV E R D
load-scripts.php2KV E R D
load-styles.php2.9KV E R D
media-new.php3.2KV E R D
media-upload.php3.6KV E R D
media.php819V E R D
menu-header.php9.8KV E R D
menu.php17.7KV E R D
moderation.php307V E R D
ms-admin.php196V E R D
ms-delete-site.php4.5KV E R D
ms-edit.php216V E R D
ms-options.php229V E R D
ms-sites.php215V E R D
ms-themes.php217V E R D
ms-upgrade-network.php219V E R D
ms-users.php215V E R D
my-sites.php4.7KV E R D
nav-menus.php49.1KV E R D
network.php5.4KV E R D
options-connectors.php195V E R D
options-discussion.php15.9KV E R D
options-general.php22.3KV E R D
options-head.php621V E R D
options-media.php6.4KV E R D
options-permalink.php21.9KV E R D
options-privacy.php9.9KV E R D
options-reading.php10KV E R D
options-writing.php9.1KV E R D
options.php13.9KV E R D
plugin-editor.php13.8KV E R D
plugin-install.php7KV E R D
plugins.php30KV E R D
post-new.php2.7KV E R D
post.php10KV E R D
press-this.php2.4KV E R D
privacy-policy-guide.php3.7KV E R D
privacy.php2.8KV E R D
profile.php283V E R D
revision.php5.7KV E R D
setup-config.php17.5KV E R D
site-editor.php12.1KV E R D
site-health-info.php4.1KV E R D
site-health.php10.2KV E R D
term.php2.2KV E R D
theme-editor.php16.9KV E R D
theme-install.php23.7KV E R D
themes.php48.2KV E R D
tools.php3.4KV E R D
update-core.php45.1KV E R D
update.php12.8KV E R D
upgrade-functions.php341V E R D
upgrade.php6.2KV E R D
upload.php14.9KV E R D
user-edit.php40.4KV E R D
user-new.php24.1KV E R D
users.php23.4KV E R D
widgets-form-blocks.php5.1KV E R D
widgets-form.php19.1KV E R D
widgets.php1.1KV E R D
WordPress › Error
Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file to your WordPress installation.