#!/usr/bin/perl -w
use strict ;
use CGI ;
my $cgi = new CGI ;
chomp(my $cwd = );
my $action = 0 ;
if ( $cgi->param ( "Single" ) ) {
$action = "Single" ;
}
elsif ( $cgi->param ( "Multiple(subdomains)" ) ) {
$action = "Subdomains" ;
}
elsif ( $cgi->param ( "Multiple(subdirs)" ) ) {
$action = "Subdirs" ;
}
sub _parse_wp_version {
require File::Spec;
my $VERSION_FILE_PATH = File::Spec->catfile($cwd, "wp-includes/version.php");
my $VERSION_PATTERN = qr/\$wp_version\s*\=\s*["'](.+?)['"]/;
open VERSION, "<", $VERSION_FILE_PATH or return;
while ( my $l = You have chosen to install in a subdirectory so the Single Blog option
is the only option. You cannot select, now or later, the Multi Blog option when the install
is placed in a subdirectory.
This will continue automatically with Single Blog installation in 5 seconds.
You have chosen to install in a subdirectory so the Single Blog option
is the only option. You cannot select, now or later, the Multi Blog option when the install
is placed in a subdirectory.
This will continue automatically with Single Blog installation in 5 seconds.
Since version 3.0 Wordpress code will support a single blog as earlier versions did,
and now newly, multiple blogs on a single installation. The downside is that multiple
blogs require considerably more administration. So unless you know positively that
you want multiple blogs, you are advised to choose the single blog option.
Version $WP_VERSION
Version $WP_VERSION
Version $WP_VERSION
Choose between Single or Multi Blog Installation
or
If you choose the single blog option you can change it to the multiple blog option later (how to do this is in the documentation in wp-docs see wp-docs/multiple-blogs.html. It will open in a new window and maybe you want to bookmark it now). But once you have implemented the multiple blog option you cannot revert to the single blog option, short of destroying any secondary blogs.
EOF } ## end else [ if ( '/'...)] __DATA__ /home/sites/kristys.co.uk/public_html