http://code.google.com/p/textpattern/source/detail?r=3285
Modified:
/development/4.x/sites/site1/public/index.php
=======================================
--- /development/4.x/sites/site1/public/index.php Mon Sep 14 22:15:25 2009
+++ /development/4.x/sites/site1/public/index.php Fri Oct 30 12:12:05 2009
@@ -12,11 +12,6 @@
foreach ( $_REQUEST as $name => $value )
unset($$name);
define("txpinterface", "public");
-
- if (!defined('txpath'))
- {
- define("txpath", realpath(dirname(__FILE__).'/../../../textpattern'));
- }
// save server path to site root
if (!isset($here))
@@ -32,6 +27,11 @@
include '../private/config.php';
ob_end_clean();
}
+
+ if (!defined('txpath'))
+ {
+ define("txpath", realpath(dirname(__FILE__).'/../../../textpattern'));
+ }
include txpath.'/lib/constants.php';
include txpath.'/lib/txplib_misc.php';