This commit is contained in:
gcch 2024-08-02 09:51:21 +02:00
commit 8e75a421d2
23 changed files with 2936 additions and 0 deletions

View file

@ -0,0 +1,16 @@
<?php
/**
* Plugin Name: Bedrock Autoloader
* Plugin URI: https://github.com/roots/bedrock-autoloader
* Description: An autoloader that enables standard plugins to be required just like must-use plugins. The autoloaded plugins are included during mu-plugin loading. An asterisk (*) next to the name of the plugin designates the plugins that have been autoloaded.
* Version: 1.0.3
* Author: Roots
* Author URI: https://roots.io/
* License: MIT License
*/
namespace Roots\Bedrock;
if (is_blog_installed() && class_exists(Autoloader::class)) {
new Autoloader();
}

0
web/app/plugins/.gitkeep Normal file
View file

0
web/app/themes/.gitkeep Normal file
View file

0
web/app/uploads/.gitkeep Normal file
View file

6
web/index.php Normal file
View file

@ -0,0 +1,6 @@
<?php
/**
* WordPress View Bootstrapper
*/
define("WP_USE_THEMES", true);
require __DIR__ . "/wp/wp-blog-header.php";

11
web/wp-config.php Normal file
View file

@ -0,0 +1,11 @@
<?php
/**
* Do not edit this file. Edit the config files found in the config/ dir instead.
* This file is required in the root directory so WordPress can find it.
* WP is hardcoded to look in its own directory or one directory up for wp-config.php.
*/
require_once dirname(__DIR__) . "/vendor/autoload.php";
require_once dirname(__DIR__) . "/config/application.php";
require_once ABSPATH . "wp-settings.php";
// wp-config-ddev.php not needed