Skip to content

Commit

Permalink
Semantic consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
philwareham committed Feb 8, 2019
1 parent 9c44d61 commit a5d38ab
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -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?
Expand Down
2 changes: 1 addition & 1 deletion sites/site1/admin/index.php
Expand Up @@ -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')) {
Expand Down
2 changes: 1 addition & 1 deletion sites/site1/public/index.php
Expand Up @@ -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')) {
Expand Down
2 changes: 1 addition & 1 deletion textpattern/index.php
Expand Up @@ -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();
}
Expand Down

0 comments on commit a5d38ab

Please sign in to comment.