Permalink
Browse files

Semantic consistency

  • Loading branch information...
philwareham committed Feb 8, 2019
1 parent 9c44d61 commit a5d38ab94a055535d8041e8cc52ab753b292a38e
Showing with 4 additions and 4 deletions.
  1. +1 −1 index.php
  2. +1 −1 sites/site1/admin/index.php
  3. +1 −1 sites/site1/public/index.php
  4. +1 −1 textpattern/index.php
@@ -94,7 +94,7 @@
if (!isset($txpcfg['table_prefix'])) {
txp_status_header('503 Service Unavailable');
exit('config.php is missing or corrupt. To install Textpattern, visit <a href="./textpattern/setup/">textpattern/setup/</a>');
exit('<p>config.php is missing or corrupt. To install Textpattern, visit <a href="./textpattern/setup/">textpattern/setup/</a>.</p>');
}
// Custom caches, etc?
@@ -28,7 +28,7 @@
if (!isset($txpcfg['table_prefix'])) {
header("HTTP/1.0 503 Service Unavailable");
exit('config.php is missing or corrupt. To install Textpattern, visit <a href="./setup/">setup</a>');
exit('<p>config.php is missing or corrupt. To install Textpattern, visit <a href="./setup/">setup</a>.</p>');
}
if (!defined('txpath')) {
@@ -33,7 +33,7 @@
$config_missing_setup_url = $this_protocol.$admin_subdomain.'.'.substr($this_domain, strpos($this_domain, '.') + 1).'/setup/';
header("HTTP/1.0 503 Service Unavailable");
exit('config.php is missing or corrupt. To install Textpattern, visit <a href="'.$config_missing_setup_url.'">'.$config_missing_setup_url.'</a> (if necessary, replace \''.$admin_subdomain.'\' with your own admin subdomain)');
exit('<p>config.php is missing or corrupt. To install Textpattern, visit <a href="'.$config_missing_setup_url.'">'.$config_missing_setup_url.'</a> (if necessary, replace \''.$admin_subdomain.'\' with your own admin subdomain).</p>');
}
if (!defined('txpath')) {
@@ -72,7 +72,7 @@
if (!isset($txpcfg['table_prefix']) && !@include './config.php') {
ob_end_clean();
header('HTTP/1.1 503 Service Unavailable');
exit('config.php is missing or corrupt. To install Textpattern, visit <a href="./setup/">setup</a>.');
exit('<p>config.php is missing or corrupt. To install Textpattern, visit <a href="./setup/">setup</a>.</p>');
} else {
ob_end_clean();
}

0 comments on commit a5d38ab

Please sign in to comment.