mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 23:26:40 +03:00
18 lines
459 B
PHP
18 lines
459 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
require_once __DIR__.'/vendor/autoload.php';
|
|
|
|
$config = new \Mukadi\WordpressBundle\Config(
|
|
sprintf('%s/%s',realpath(__DIR__),env('WP_DIR', 'public'))
|
|
);
|
|
|
|
// define('WP_ALLOW_MULTISITE', env('WP_ALLOW_MULTISITE', true));
|
|
|
|
$table_prefix = env('WP_PREFIX', 'wp_');
|
|
|
|
/* That's all, stop editing! Happy blogging. */
|
|
$config->apply();
|
|
/** Sets up WordPress vars and included files. */
|
|
require_once(ABSPATH . 'wp-settings.php');
|