mirror of
https://github.com/YunoHost-Apps/wordpress_ynh.git
synced 2024-09-03 20:36:10 +02:00
18 lines
271 B
PHP
18 lines
271 B
PHP
<?php
|
|
/**
|
|
* Loads the WordPress environment and template.
|
|
*
|
|
* @package WordPress
|
|
*/
|
|
|
|
if ( !isset($wp_did_header) ) {
|
|
|
|
$wp_did_header = true;
|
|
|
|
require_once( dirname(__FILE__) . '/wp-load.php' );
|
|
|
|
wp();
|
|
|
|
require_once( ABSPATH . WPINC . '/template-loader.php' );
|
|
|
|
}
|