[ Index ] |
PHP Cross Reference of Textpattern 4.0.8 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 $HeadURL: https://textpattern.googlecode.com/svn/releases/4.0.8/source/index.php $ 4 $LastChangedRevision: 2885 $ 5 */ 6 7 // Make sure we display all errors that occur during initialization 8 error_reporting(E_ALL); 9 @ini_set("display_errors","1"); 10 11 if (@ini_get('register_globals')) 12 foreach ( $_REQUEST as $name => $value ) 13 unset($$name); 14 define("txpinterface", "public"); 15 if (!defined('txpath')) 16 define("txpath", dirname(__FILE__).'/textpattern'); 17 18 // Use buffering to ensure bogus whitespace in config.php is ignored 19 ob_start(NULL, 2048); 20 $here = dirname(__FILE__); 21 include txpath.'/config.php'; 22 ob_end_clean(); 23 24 include txpath.'/lib/constants.php'; 25 include txpath.'/lib/txplib_misc.php'; 26 if (!isset($txpcfg['table_prefix'])) 27 { 28 txp_status_header('503 Service Unavailable'); 29 exit('config.php is missing or corrupt. To install Textpattern, visit <a href="./textpattern/setup/">textpattern/setup/</a>'); 30 } 31 32 include txpath.'/publish.php'; 33 textpattern(); 34 35 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu May 21 23:03:01 2009 | Cross-referenced by PHPXref 0.7 |