Start with Develoment

This commit is contained in:
goldtho
2026-04-07 19:25:39 +02:00
parent ed3bbed3b1
commit 889877ebe7
36 changed files with 6114 additions and 44 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.
* 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

7
web/index.php Normal file
View File

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

10
web/wp-config.php Normal file
View File

@@ -0,0 +1,10 @@
<?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';