File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1090,7 +1090,7 @@ SETUPWPNETWORK()
10901090{
10911091 # Prepare wp-config.php File Foe WordPress Multisite With SubDirectory
10921092 cd /var/www/$DOMAIN /htdocs || OwnError " Unable To Change Directory"
1093- wp core install-network --title=" $WWWDOMAIN " $WPSUBDOMAINS & >> $INSTALLLOG || OwnError " Unable To Setup WordPress SubDirectory Network"
1093+ wp core install-network --allow-root -- title=" $WWWDOMAIN " $WPSUBDOMAINS & >> $INSTALLLOG || OwnError " Unable To Setup WordPress SubDirectory Network"
10941094
10951095 sed -i " /WP_DEBUG/a \define('WP_ALLOW_MULTISITE', true);" /var/www/$DOMAIN /wp-config.php
10961096 sed -i " /WP_ALLOW_MULTISITE/a \define('WPMU_ACCEL_REDIRECT', true);" /var/www/$DOMAIN /wp-config.php
You can’t perform that action at this time.
0 commit comments