$value ) unset($$name); define("txpinterface", "public"); if (!defined('txpath')) define("txpath", dirname(__FILE__).'/textpattern'); // Use buffering to ensure bogus whitespace in config.php is ignored ob_start(NULL, 2048); $here = dirname(__FILE__); include './textpattern/config.php'; ob_end_clean(); include txpath.'/lib/constants.php'; if (!isset($txpcfg['txpath']) ) { $status = '503 Service Unavailable'; if (IS_FASTCGI) header("Status: $status"); elseif ($_SERVER['SERVER_PROTOCOL'] == 'HTTP/1.0') header("HTTP/1.0 $status"); else header("HTTP/1.1 $status"); $msg = 'config.php is missing or corrupt. To install Textpattern, visit textpattern/setup/'; exit ($msg); } include $txpcfg['txpath'].'/publish.php'; textpattern(); ?>