Created
January 26, 2021 11:33
-
-
Save svandragt/8ac5782892832b1395d3d60116777b35 to your computer and use it in GitHub Desktop.
Altis Local Server index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Front to the WordPress application. This file doesn't do anything, but loads | |
* wp-blog-header.php which tells WordPress to load the theme. | |
* | |
* @package WordPress | |
* | |
* DO NOT EDIT THIS FILE. | |
* | |
* phpcs:disable PSR1.Files.SideEffects | |
*/ | |
/** | |
* Tells WordPress to load the WordPress theme and output it. | |
* | |
* @var bool | |
*/ | |
define( 'WP_USE_THEMES', true ); | |
/** Loads the WordPress Environment and Template */ | |
require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' ); |
Same as: sed -i "s/require __DIR__ . '/require __DIR__ . '\/wordpress/g" index.php
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The only line that's difference here is the path to include /wordpress on L21