From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- srcs/wordpress/wp-admin/load-scripts.php | 68 -------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 srcs/wordpress/wp-admin/load-scripts.php (limited to 'srcs/wordpress/wp-admin/load-scripts.php') diff --git a/srcs/wordpress/wp-admin/load-scripts.php b/srcs/wordpress/wp-admin/load-scripts.php deleted file mode 100644 index bdb5fa5..0000000 --- a/srcs/wordpress/wp-admin/load-scripts.php +++ /dev/null @@ -1,68 +0,0 @@ -registered ) ) { - continue; - } - - $path = ABSPATH . $wp_scripts->registered[ $handle ]->src; - $out .= get_file( $path ) . "\n"; -} - -header( "Etag: $wp_version" ); -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; -- cgit