You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
640 B

<?php
/**
* This redirects to the site's root to prevent directory browsing.
*
* @ignore
* @package TikiWiki
* @copyright (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
* @licence Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
*/
// $Id$
require_once('check_composer_exists.php');
require_once('tiki-setup.php');
if (! headers_sent($header_file, $header_line)) {
// rfc2616 wants this to have an absolute URI
header('Location: ' . $base_url . $prefs['tikiIndex']);
} else {
echo "Header already sent in " . $header_file . " at line " . $header_line;
exit();
}