andrewminion/wordpress-multisite-subdirectory-valet-driver
最新稳定版本:2.1.0
Composer 安装命令:
composer require andrewminion/wordpress-multisite-subdirectory-valet-driver
包简介
A custom driver for Laravel Valet that adds compatibility for WordPress multisite installs that use the subdirectory configuration.
README 文档
README
A custom driver for Laravel Valet that adds compatibility for WordPress multisite installs that use the subdirectory configuration.
Compatibility
| Valet Version | Driver Version |
|---|---|
| 3.x | 1.x |
| 4.x | 2.x |
Installation (Composer)
composer global require andrewminion/wordpress-multisite-subdirectory-valet-drivercp $(composer global config home)/vendor/andrewminion/wordpress-multisite-subdirectory-valet-driver/WordPressMultisiteSubdirectoryValetDriver.php ~/.config/valet/Drivers- Make sure your wp-config.php file has at least one of
WP_ALLOW_MULTISITEorMULTISITEconstants defined. - Celebrate the pain you just avoided!
Installation (Manual)
- Clone this repo
cp WordPressMultisiteSubdirectoryValetDriver.php ~/.config/valet/Drivers- Make sure your wp-config.php file has at least one of
WP_ALLOW_MULTISITEorMULTISITEconstants defined. - Celebrate the pain you just avoided!
Installs with WordPress root files in a subdirectory
If your install has WordPress root files in a subdirectory (such as a submodule), simply change the class property $wp_root from false to the root directory name.
统计信息
- 总下载量: 129
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: AGPL-3.0-or-later
- 更新时间: 2023-03-16