X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=index.php;h=c8d4fbee9b0f30a6e44325b2a6508cef02a377f8;hb=b7d07466943a73e1c009467c8daa6e499810080f;hp=5a08aa07825c4d11b87a2e726c81c1db5be8b4ee;hpb=d8a3a88ec8eae3134694c98e5a9ae42bc30b289f;p=quix0rs-gnu-social.git diff --git a/index.php b/index.php index 5a08aa0782..c8d4fbee9b 100644 --- a/index.php +++ b/index.php @@ -37,6 +37,9 @@ * @license GNU Affero General Public License http://www.gnu.org/licenses/ */ +$_startTime = microtime(true); +$_perfCounters = array(); + define('INSTALLDIR', dirname(__FILE__)); define('STATUSNET', true); define('LACONICA', true); // compatibility @@ -219,7 +222,7 @@ function main() { // fake HTTP redirects using lighttpd's 404 redirects if (strpos($_SERVER['SERVER_SOFTWARE'], 'lighttpd') !== false) { - $_lighty_url = $base_url.$_SERVER['REQUEST_URI']; + $_lighty_url = $_SERVER['REQUEST_URI']; $_lighty_url = @parse_url($_lighty_url); if ($_lighty_url['path'] != '/index.php' && $_lighty_url['path'] != '/') {